#def4af
a light, electric green · cool · closest name: khaki
RGB
222, 244, 175
HSL
79°, 76%, 82%
CMYK
9, 0, 28, 4
Luminance
0.8333
Every format
| HEX | #def4af |
| RGB | rgb(222, 244, 175) |
| HSL | hsl(79, 76%, 82%) |
| CMYK | cmyk(9%, 0%, 28%, 4%) |
| LAB | lab(93.2 -18.5 30.9) |
| LCH | lch(93.2 36.1 120.9) |
| OKLCH | oklch(0.934 0.092 122.5) |
Copy-ready code
/* CSS */
color: #def4af;
background-color: #def4af;
/* Tailwind (arbitrary) */
class="text-[#def4af] bg-[#def4af]"
/* SCSS */
$brand: #def4af;
/* SwiftUI */
Color(red: 0.871, green: 0.957, blue: 0.686)
/* Android */
Color.parseColor("#def4af")Accessibility — WCAG contrast
Aa
#def4af on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def4af on black: 17.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green95.7%
Blue68.6%
CMYK percentages
Cyan9.0%
Magenta0.0%
Yellow28.3%
Key (black)4.3%
Color previews
#def4af text on a black background
contrast 17.67:1
Card sample
#def4af text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def4af;
Background color
Panel with #def4af background
background-color: #def4af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def4af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 244, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 244, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def4af; background: linear-gradient(135deg, #def4af, #B0F4AF);