Skip to content
Vectorlight.net

#d4e987

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

HEX
#d4e987
RGB
212, 233, 135
HSL
72.86°, 69.01%, 72.16%
OKLCH
0.9 0.13 118.9
Names
—
Lists

Codes

FormatValue
HEX#d4e987
RGBrgb(212 233 135)
HSLhsl(72.86 69.01% 72.16%)
OKLCHoklch(0.9 0.13 118.9)
CMYKcmyk(9.01% 0% 42.06% 8.63%)
Android#ffd4e987

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

Recolor an SVG with this color

CSS

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