Skip to content

#def86d

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

RGB
222, 248, 109
HSL
71°, 91%, 70%
CMYK
11, 0, 56, 3
Luminance
0.8377

Every format

HEX#def86d
RGBrgb(222, 248, 109)
HSLhsl(71, 91%, 70%)
CMYKcmyk(11%, 0%, 56%, 3%)
LABlab(93.3 -27.6 62.7)
LCHlch(93.3 68.5 113.7)
OKLCHoklch(0.933 0.166 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def86d on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#def86d on black: 17.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green97.3%
Blue42.7%

CMYK percentages

Cyan10.5%
Magenta0.0%
Yellow56.0%
Key (black)2.7%

Color previews

#def86d text on a black background

contrast 17.75:1

Card sample

#def86d text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 248, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 248, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def86d;
background: linear-gradient(135deg, #def86d, #81F86D);

Monochromatic scale

Palettes built from #def86d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def86d in the Color Lab