#def0af
a light, vivid green · cool · closest name: khaki
RGB
222, 240, 175
HSL
77°, 68%, 81%
CMYK
8, 0, 27, 6
Luminance
0.8094
Every format
| HEX | #def0af |
| RGB | rgb(222, 240, 175) |
| HSL | hsl(77, 68%, 81%) |
| CMYK | cmyk(8%, 0%, 27%, 6%) |
| LAB | lab(92.1 -16.6 29.5) |
| LCH | lch(92.1 33.9 119.3) |
| OKLCH | oklch(0.926 0.086 120.7) |
Copy-ready code
/* CSS */
color: #def0af;
background-color: #def0af;
/* Tailwind (arbitrary) */
class="text-[#def0af] bg-[#def0af]"
/* SCSS */
$brand: #def0af;
/* SwiftUI */
Color(red: 0.871, green: 0.941, blue: 0.686)
/* Android */
Color.parseColor("#def0af")Accessibility — WCAG contrast
Aa
#def0af on white: 1.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def0af on black: 17.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green94.1%
Blue68.6%
CMYK percentages
Cyan7.5%
Magenta0.0%
Yellow27.1%
Key (black)5.9%
Color previews
#def0af text on a black background
contrast 17.19:1
Card sample
#def0af text on a white background
contrast 1.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def0af;
Background color
Panel with #def0af background
background-color: #def0af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def0af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 240, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 240, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def0af; background: linear-gradient(135deg, #def0af, #B3F0AF);