Skip to content
Vectorlight.net

#cccb2e

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

HEX
#cccb2e
RGB
204, 203, 46
HSL
59.62°, 63.2%, 49.02%
OKLCH
0.82 0.17 109.18
Names
—
Lists

Codes

FormatValue
HEX#cccb2e
RGBrgb(204 203 46)
HSLhsl(59.62 63.2% 49.02%)
OKLCHoklch(0.82 0.17 109.18)
CMYKcmyk(0% 0.49% 77.45% 20%)
Android#ffcccb2e

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.14: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="#cccb2e"
Gradient stop
<stop stop-color="#cccb2e"/>
CSS variable + fill
:root { --c: #cccb2e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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