Skip to content
Vectorlight.net

#def262

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

HEX
#def262
RGB
222, 242, 98
HSL
68.33°, 84.71%, 66.67%
OKLCH
0.92 0.17 116.48
Names
—
Lists

Codes

FormatValue
HEX#def262
RGBrgb(222 242 98)
HSLhsl(68.33 84.71% 66.67%)
OKLCHoklch(0.92 0.17 116.48)
CMYKcmyk(8.26% 0% 59.5% 5.1%)
Android#ffdef262

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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