Skip to content
Vectorlight.net

#507a12

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

HEX
#507a12
RGB
80, 122, 18
HSL
84.23°, 74.29%, 27.45%
OKLCH
0.53 0.14 130.28
Names
—
Lists

Codes

FormatValue
HEX#507a12
RGBrgb(80 122 18)
HSLhsl(84.23 74.29% 27.45%)
OKLCHoklch(0.53 0.14 130.28)
CMYKcmyk(34.43% 0% 85.25% 52.16%)
Android#ff507a12

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.13: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="#507a12"
Gradient stop
<stop stop-color="#507a12"/>
CSS variable + fill
:root { --c: #507a12; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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