Skip to content
Vectorlight.net

#d1cd22

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

HEX
#d1cd22
RGB
209, 205, 34
HSL
58.63°, 72.02%, 47.65%
OKLCH
0.83 0.17 108.15
Names
—
Lists

Codes

FormatValue
HEX#d1cd22
RGBrgb(209 205 34)
HSLhsl(58.63 72.02% 47.65%)
OKLCHoklch(0.83 0.17 108.15)
CMYKcmyk(0% 1.91% 83.73% 18.04%)
Android#ffd1cd22

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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