Skip to content
Vectorlight.net

#dec997

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

HEX
#dec997
RGB
222, 201, 151
HSL
42.25°, 51.82%, 73.14%
OKLCH
0.84 0.07 87.86
Names
—
Lists

Codes

FormatValue
HEX#dec997
RGBrgb(222 201 151)
HSLhsl(42.25 51.82% 73.14%)
OKLCHoklch(0.84 0.07 87.86)
CMYKcmyk(0% 9.46% 31.98% 12.94%)
Android#ffdec997

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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