Skip to content
Vectorlight.net

#dcd40a

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

HEX
#dcd40a
RGB
220, 212, 10
HSL
57.71°, 91.3%, 45.1%
OKLCH
0.85 0.18 106.9
Names
—
Lists

Codes

FormatValue
HEX#dcd40a
RGBrgb(220 212 10)
HSLhsl(57.71 91.3% 45.1%)
OKLCHoklch(0.85 0.18 106.9)
CMYKcmyk(0% 3.64% 95.45% 13.73%)
Android#ffdcd40a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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