Skip to content
Vectorlight.net

#dca21c

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

HEX
#dca21c
RGB
220, 162, 28
HSL
41.88°, 77.42%, 48.63%
OKLCH
0.75 0.15 81.53
Names
—
Lists

Codes

FormatValue
HEX#dca21c
RGBrgb(220 162 28)
HSLhsl(41.88 77.42% 48.63%)
OKLCHoklch(0.75 0.15 81.53)
CMYKcmyk(0% 26.36% 87.27% 13.73%)
Android#ffdca21c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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