Skip to content
Vectorlight.net

#8ec321

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

HEX
#8ec321
RGB
142, 195, 33
HSL
79.63°, 71.05%, 44.71%
OKLCH
0.75 0.19 127.31
Names
—
Lists

Codes

FormatValue
HEX#8ec321
RGBrgb(142 195 33)
HSLhsl(79.63 71.05% 44.71%)
OKLCHoklch(0.75 0.19 127.31)
CMYKcmyk(27.18% 0% 83.08% 23.53%)
Android#ff8ec321

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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