Skip to content
Vectorlight.net

#dcd798

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

HEX
#dcd798
RGB
220, 215, 152
HSL
55.59°, 49.28%, 72.94%
OKLCH
0.87 0.08 104.12
Names
—
Lists

Codes

FormatValue
HEX#dcd798
RGBrgb(220 215 152)
HSLhsl(55.59 49.28% 72.94%)
OKLCHoklch(0.87 0.08 104.12)
CMYKcmyk(0% 2.27% 30.91% 13.73%)
Android#ffdcd798

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

Recolor an SVG with this color

CSS

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