Skip to content
Vectorlight.net

#9ca504

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

HEX
#9ca504
RGB
156, 165, 4
HSL
63.35°, 95.27%, 33.14%
OKLCH
0.69 0.15 113.63
Names
—
Lists

Codes

FormatValue
HEX#9ca504
RGBrgb(156 165 4)
HSLhsl(63.35 95.27% 33.14%)
OKLCHoklch(0.69 0.15 113.63)
CMYKcmyk(5.45% 0% 97.58% 35.29%)
Android#ff9ca504

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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