Skip to content
Vectorlight.net

#507a1c

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#507a1c
RGB
80, 122, 28
HSL
86.81°, 62.67%, 29.41%
OKLCH
0.53 0.13 131.01
Names
—
Lists

Codes

FormatValue
HEX#507a1c
RGBrgb(80 122 28)
HSLhsl(86.81 62.67% 29.41%)
OKLCHoklch(0.53 0.13 131.01)
CMYKcmyk(34.43% 0% 77.05% 52.16%)
Android#ff507a1c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.14:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#507a1c"
Gradient stop
<stop stop-color="#507a1c"/>
CSS variable + fill
:root { --c: #507a1c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #507a1c;
background-color: #507a1c;
bg-[#507a1c]