Skip to content
Vectorlight.net

#87a02c

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

HEX
#87a02c
RGB
135, 160, 44
HSL
72.93°, 56.86%, 40%
OKLCH
0.66 0.14 121.07
Names
—
Lists

Codes

FormatValue
HEX#87a02c
RGBrgb(135 160 44)
HSLhsl(72.93 56.86% 40%)
OKLCHoklch(0.66 0.14 121.07)
CMYKcmyk(15.63% 0% 72.5% 37.25%)
Android#ff87a02c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #87a02c;
background-color: #87a02c;
bg-[#87a02c]