Skip to content
Vectorlight.net

#507c2f

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

HEX
#507c2f
RGB
80, 124, 47
HSL
94.29°, 45.03%, 33.53%
OKLCH
0.54 0.12 133.89
Names
—
Lists

Codes

FormatValue
HEX#507c2f
RGBrgb(80 124 47)
HSLhsl(94.29 45.03% 33.53%)
OKLCHoklch(0.54 0.12 133.89)
CMYKcmyk(35.48% 0% 62.1% 51.37%)
Android#ff507c2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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