Skip to content
Vectorlight.net

#9ecd31

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

HEX
#9ecd31
RGB
158, 205, 49
HSL
78.08°, 61.42%, 49.8%
OKLCH
0.79 0.18 125.49
Names
—
Lists

Codes

FormatValue
HEX#9ecd31
RGBrgb(158 205 49)
HSLhsl(78.08 61.42% 49.8%)
OKLCHoklch(0.79 0.18 125.49)
CMYKcmyk(22.93% 0% 76.1% 19.61%)
Android#ff9ecd31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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