Skip to content
Vectorlight.net

#d4e997

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

HEX
#d4e997
RGB
212, 233, 151
HSL
75.37°, 65.08%, 75.29%
OKLCH
0.9 0.11 120.3
Names
—
Lists

Codes

FormatValue
HEX#d4e997
RGBrgb(212 233 151)
HSLhsl(75.37 65.08% 75.29%)
OKLCHoklch(0.9 0.11 120.3)
CMYKcmyk(9.01% 0% 35.19% 8.63%)
Android#ffd4e997

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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