Skip to content
Vectorlight.net

#9ca52c

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

HEX
#9ca52c
RGB
156, 165, 44
HSL
64.46°, 57.89%, 40.98%
OKLCH
0.69 0.14 113.75
Names
—
Lists

Codes

FormatValue
HEX#9ca52c
RGBrgb(156 165 44)
HSLhsl(64.46 57.89% 40.98%)
OKLCHoklch(0.69 0.14 113.75)
CMYKcmyk(5.45% 0% 73.33% 35.29%)
Android#ff9ca52c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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