Skip to content
Vectorlight.net

#9ec540

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

HEX
#9ec540
RGB
158, 197, 64
HSL
77.59°, 53.41%, 51.18%
OKLCH
0.77 0.16 124.31
Names
—
Lists

Codes

FormatValue
HEX#9ec540
RGBrgb(158 197 64)
HSLhsl(77.59 53.41% 51.18%)
OKLCHoklch(0.77 0.16 124.31)
CMYKcmyk(19.8% 0% 67.51% 22.75%)
Android#ff9ec540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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