Skip to content
Vectorlight.net

#def28e

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

HEX
#def28e
RGB
222, 242, 142
HSL
72°, 79.37%, 75.29%
OKLCH
0.92 0.13 118.2
Names
—
Lists

Codes

FormatValue
HEX#def28e
RGBrgb(222 242 142)
HSLhsl(72 79.37% 75.29%)
OKLCHoklch(0.92 0.13 118.2)
CMYKcmyk(8.26% 0% 41.32% 5.1%)
Android#ffdef28e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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