Skip to content
Vectorlight.net

#def142

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

HEX
#def142
RGB
222, 241, 66
HSL
66.51°, 86.21%, 60.2%
OKLCH
0.91 0.19 115.7
Names
—
Lists

Codes

FormatValue
HEX#def142
RGBrgb(222 241 66)
HSLhsl(66.51 86.21% 60.2%)
OKLCHoklch(0.91 0.19 115.7)
CMYKcmyk(7.88% 0% 72.61% 5.49%)
Android#ffdef142

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

Recolor an SVG with this color

CSS

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