Skip to content
Vectorlight.net

#def052

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

HEX
#def052
RGB
222, 240, 82
HSL
66.84°, 84.04%, 63.14%
OKLCH
0.91 0.18 115.59
Names
—
Lists

Codes

FormatValue
HEX#def052
RGBrgb(222 240 82)
HSLhsl(66.84 84.04% 63.14%)
OKLCHoklch(0.91 0.18 115.59)
CMYKcmyk(7.5% 0% 65.83% 5.88%)
Android#ffdef052

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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