Skip to content
Vectorlight.net

#dafe98

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

HEX
#dafe98
RGB
218, 254, 152
HSL
81.18°, 98.08%, 79.61%
OKLCH
0.95 0.13 124.75
Names
—
Lists

Codes

FormatValue
HEX#dafe98
RGBrgb(218 254 152)
HSLhsl(81.18 98.08% 79.61%)
OKLCHoklch(0.95 0.13 124.75)
CMYKcmyk(14.17% 0% 40.16% 0.39%)
Android#ffdafe98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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