Skip to content
Vectorlight.net

#8ec42f

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

HEX
#8ec42f
RGB
142, 196, 47
HSL
81.74°, 61.32%, 47.65%
OKLCH
0.76 0.18 128.03
Names
—
Lists

Codes

FormatValue
HEX#8ec42f
RGBrgb(142 196 47)
HSLhsl(81.74 61.32% 47.65%)
OKLCHoklch(0.76 0.18 128.03)
CMYKcmyk(27.55% 0% 76.02% 23.14%)
Android#ff8ec42f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8ec42f;
background-color: #8ec42f;
bg-[#8ec42f]