Skip to content
Vectorlight.net

#dcd951

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

HEX
#dcd951
RGB
220, 217, 81
HSL
58.71°, 66.51%, 59.02%
OKLCH
0.86 0.15 108.03
Names
—
Lists

Codes

FormatValue
HEX#dcd951
RGBrgb(220 217 81)
HSLhsl(58.71 66.51% 59.02%)
OKLCHoklch(0.86 0.15 108.03)
CMYKcmyk(0% 1.36% 63.18% 13.73%)
Android#ffdcd951

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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