Skip to content
Vectorlight.net

#dcd978

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

HEX
#dcd978
RGB
220, 217, 120
HSL
58.2°, 58.82%, 66.67%
OKLCH
0.87 0.12 107.09
Names
—
Lists

Codes

FormatValue
HEX#dcd978
RGBrgb(220 217 120)
HSLhsl(58.2 58.82% 66.67%)
OKLCHoklch(0.87 0.12 107.09)
CMYKcmyk(0% 1.36% 45.45% 13.73%)
Android#ffdcd978

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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