Skip to content
Vectorlight.net

#cdca1b

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

HEX
#cdca1b
RGB
205, 202, 27
HSL
58.99°, 76.72%, 45.49%
OKLCH
0.82 0.17 108.56
Names
—
Lists

Codes

FormatValue
HEX#cdca1b
RGBrgb(205 202 27)
HSLhsl(58.99 76.72% 45.49%)
OKLCHoklch(0.82 0.17 108.56)
CMYKcmyk(0% 1.46% 86.83% 19.61%)
Android#ffcdca1b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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