Skip to content
Vectorlight.net

#def42e

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

HEX
#def42e
RGB
222, 244, 46
HSL
66.67°, 90%, 56.86%
OKLCH
0.92 0.2 116.35
Names
—
Lists

Codes

FormatValue
HEX#def42e
RGBrgb(222 244 46)
HSLhsl(66.67 90% 56.86%)
OKLCHoklch(0.92 0.2 116.35)
CMYKcmyk(9.02% 0% 81.15% 4.31%)
Android#ffdef42e

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.08: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="#def42e"
Gradient stop
<stop stop-color="#def42e"/>
CSS variable + fill
:root { --c: #def42e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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