Skip to content
Vectorlight.net

#cdcd1a

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

HEX
#cdcd1a
RGB
205, 205, 26
HSL
60°, 77.49%, 45.29%
OKLCH
0.82 0.17 109.69
Names
—
Lists

Codes

FormatValue
HEX#cdcd1a
RGBrgb(205 205 26)
HSLhsl(60 77.49% 45.29%)
OKLCHoklch(0.82 0.17 109.69)
CMYKcmyk(0% 0% 87.32% 19.61%)
Android#ffcdcd1a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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