Skip to content

#def6af

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

RGB
222, 246, 175
HSL
80°, 80%, 83%
CMYK
10, 0, 29, 4
Luminance
0.8454

Every format

HEX#def6af
RGBrgb(222, 246, 175)
HSLhsl(80, 80%, 83%)
CMYKcmyk(10%, 0%, 29%, 4%)
LABlab(93.7 -19.5 31.6)
LCHlch(93.7 37.2 121.6)
OKLCHoklch(0.939 0.095 123.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.5%
Blue68.6%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow28.9%
Key (black)3.5%

Color previews

#def6af text on a black background

contrast 17.91:1

Card sample

#def6af text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 246, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 246, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def6af;
background: linear-gradient(135deg, #def6af, #AFF6AF);

Monochromatic scale

Palettes built from #def6af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def6af in the Color Lab