Skip to content
Vectorlight.net

#cdc002

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

HEX
#cdc002
RGB
205, 192, 2
HSL
56.16°, 98.07%, 40.59%
OKLCH
0.79 0.17 104.66
Names
—
Lists

Codes

FormatValue
HEX#cdc002
RGBrgb(205 192 2)
HSLhsl(56.16 98.07% 40.59%)
OKLCHoklch(0.79 0.17 104.66)
CMYKcmyk(0% 6.34% 99.02% 19.61%)
Android#ffcdc002

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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