Skip to content
Vectorlight.net

#def040

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

HEX
#def040
RGB
222, 240, 64
HSL
66.14°, 85.44%, 59.61%
OKLCH
0.91 0.19 115.39
Names
—
Lists

Codes

FormatValue
HEX#def040
RGBrgb(222 240 64)
HSLhsl(66.14 85.44% 59.61%)
OKLCHoklch(0.91 0.19 115.39)
CMYKcmyk(7.5% 0% 73.33% 5.88%)
Android#ffdef040

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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