Skip to content
Vectorlight.net

#def338

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

HEX
#def338
RGB
222, 243, 56
HSL
66.74°, 88.63%, 58.63%
OKLCH
0.92 0.2 116.16
Names
—
Lists

Codes

FormatValue
HEX#def338
RGBrgb(222 243 56)
HSLhsl(66.74 88.63% 58.63%)
OKLCHoklch(0.92 0.2 116.16)
CMYKcmyk(8.64% 0% 76.95% 4.71%)
Android#ffdef338

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

Recolor an SVG with this color

CSS

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