Skip to content
Vectorlight.net

#d4e298

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

HEX
#d4e298
RGB
212, 226, 152
HSL
71.35°, 56.06%, 74.12%
OKLCH
0.88 0.1 117.14
Names
—
Lists

Codes

FormatValue
HEX#d4e298
RGBrgb(212 226 152)
HSLhsl(71.35 56.06% 74.12%)
OKLCHoklch(0.88 0.1 117.14)
CMYKcmyk(6.19% 0% 32.74% 11.37%)
Android#ffd4e298

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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