Skip to content
Vectorlight.net

#defef2

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

HEX
#defef2
RGB
222, 254, 242
HSL
157.5°, 94.12%, 93.33%
OKLCH
0.97 0.04 170.94
Names
—
Lists

Codes

FormatValue
HEX#defef2
RGBrgb(222 254 242)
HSLhsl(157.5 94.12% 93.33%)
OKLCHoklch(0.97 0.04 170.94)
CMYKcmyk(12.6% 0% 4.72% 0.39%)
Android#ffdefef2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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