Skip to content
Vectorlight.net

#dcd97a

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

HEX
#dcd97a
RGB
220, 217, 122
HSL
58.16°, 58.33%, 67.06%
OKLCH
0.87 0.12 107.02
Names
—
Lists

Codes

FormatValue
HEX#dcd97a
RGBrgb(220 217 122)
HSLhsl(58.16 58.33% 67.06%)
OKLCHoklch(0.87 0.12 107.02)
CMYKcmyk(0% 1.36% 44.55% 13.73%)
Android#ffdcd97a

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.24: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="#dcd97a"
Gradient stop
<stop stop-color="#dcd97a"/>
CSS variable + fill
:root { --c: #dcd97a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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