Skip to content
Vectorlight.net

#9ecc2d

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

HEX
#9ecc2d
RGB
158, 204, 45
HSL
77.36°, 63.86%, 48.82%
OKLCH
0.78 0.18 125.13
Names
—
Lists

Codes

FormatValue
HEX#9ecc2d
RGBrgb(158 204 45)
HSLhsl(77.36 63.86% 48.82%)
OKLCHoklch(0.78 0.18 125.13)
CMYKcmyk(22.55% 0% 77.94% 20%)
Android#ff9ecc2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9ecc2d;
background-color: #9ecc2d;
bg-[#9ecc2d]