Skip to content
Vectorlight.net

#51881f

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

HEX
#51881f
RGB
81, 136, 31
HSL
91.43°, 62.87%, 32.75%
OKLCH
0.57 0.15 133.64
Names
—
Lists

Codes

FormatValue
HEX#51881f
RGBrgb(81 136 31)
HSLhsl(91.43 62.87% 32.75%)
OKLCHoklch(0.57 0.15 133.64)
CMYKcmyk(40.44% 0% 77.21% 46.67%)
Android#ff51881f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51881f;
background-color: #51881f;
bg-[#51881f]