Skip to content
Vectorlight.net

#c9cc2a

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

HEX
#c9cc2a
RGB
201, 204, 42
HSL
61.11°, 65.85%, 48.24%
OKLCH
0.82 0.17 110.74
Names
—
Lists

Codes

FormatValue
HEX#c9cc2a
RGBrgb(201 204 42)
HSLhsl(61.11 65.85% 48.24%)
OKLCHoklch(0.82 0.17 110.74)
CMYKcmyk(1.47% 0% 79.41% 20%)
Android#ffc9cc2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #c9cc2a;
background-color: #c9cc2a;
bg-[#c9cc2a]