Skip to content
Vectorlight.net

#9eb252

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

HEX
#9eb252
RGB
158, 178, 82
HSL
72.5°, 38.4%, 50.98%
OKLCH
0.73 0.12 119.38
Names
—
Lists

Codes

FormatValue
HEX#9eb252
RGBrgb(158 178 82)
HSLhsl(72.5 38.4% 50.98%)
OKLCHoklch(0.73 0.12 119.38)
CMYKcmyk(11.24% 0% 53.93% 30.2%)
Android#ff9eb252

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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