Skip to content

#def96c

a light, electric green · cool · closest name: khaki

RGB
222, 249, 108
HSL
72°, 92%, 70%
CMYK
11, 0, 57, 2
Luminance
0.8436

Every format

HEX#def96c
RGBrgb(222, 249, 108)
HSLhsl(72, 92%, 70%)
CMYKcmyk(11%, 0%, 57%, 2%)
LABlab(93.6 -28.1 63.4)
LCHlch(93.6 69.3 113.9)
OKLCHoklch(0.935 0.168 118.9)

Copy-ready code

/* CSS */
color: #def96c;
background-color: #def96c;
/* Tailwind (arbitrary) */
class="text-[#def96c] bg-[#def96c]"
/* SCSS */
$brand: #def96c;
/* SwiftUI */
Color(red: 0.871, green: 0.976, blue: 0.424)
/* Android */
Color.parseColor("#def96c")

Accessibility — WCAG contrast

Aa
#def96c on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#def96c on black: 17.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green97.6%
Blue42.4%

CMYK percentages

Cyan10.8%
Magenta0.0%
Yellow56.6%
Key (black)2.4%

Color previews

#def96c text on a black background

contrast 17.87:1

Card sample

#def96c text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #def96c;
Background color
Panel with #def96c background
background-color: #def96c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #def96c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(222, 249, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 249, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def96c;
background: linear-gradient(135deg, #def96c, #80F96C);

Monochromatic scale

Palettes built from #def96c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def96c in the Color Lab