Skip to content
Vectorlight.net

#dcaf21

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

HEX
#dcaf21
RGB
220, 175, 33
HSL
45.56°, 73.91%, 49.61%
OKLCH
0.77 0.15 88.94
Names
—
Lists

Codes

FormatValue
HEX#dcaf21
RGBrgb(220 175 33)
HSLhsl(45.56 73.91% 49.61%)
OKLCHoklch(0.77 0.15 88.94)
CMYKcmyk(0% 20.45% 85% 13.73%)
Android#ffdcaf21

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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