Skip to content
Vectorlight.net

#51902a

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

HEX
#51902a
RGB
81, 144, 42
HSL
97.06°, 54.84%, 36.47%
OKLCH
0.59 0.15 135.85
Names
—
Lists

Codes

FormatValue
HEX#51902a
RGBrgb(81 144 42)
HSLhsl(97.06 54.84% 36.47%)
OKLCHoklch(0.59 0.15 135.85)
CMYKcmyk(43.75% 0% 70.83% 43.53%)
Android#ff51902a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#51902a"
Gradient stop
<stop stop-color="#51902a"/>
CSS variable + fill
:root { --c: #51902a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #51902a;
background-color: #51902a;
bg-[#51902a]