Skip to content
Vectorlight.net

#d8df98

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

HEX
#d8df98
RGB
216, 223, 152
HSL
65.92°, 52.59%, 73.53%
OKLCH
0.88 0.09 112.87
Names
—
Lists

Codes

FormatValue
HEX#d8df98
RGBrgb(216 223 152)
HSLhsl(65.92 52.59% 73.53%)
OKLCHoklch(0.88 0.09 112.87)
CMYKcmyk(3.14% 0% 31.84% 12.55%)
Android#ffd8df98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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