#def5af
a light, electric green · cool · closest name: khaki
RGB
222, 245, 175
HSL
80°, 78%, 82%
CMYK
9, 0, 29, 4
Luminance
0.8393
Every format
| HEX | #def5af |
| RGB | rgb(222, 245, 175) |
| HSL | hsl(80, 78%, 82%) |
| CMYK | cmyk(9%, 0%, 29%, 4%) |
| LAB | lab(93.4 -19.0 31.3) |
| LCH | lch(93.4 36.6 121.3) |
| OKLCH | oklch(0.936 0.094 123.0) |
Copy-ready code
/* CSS */
color: #def5af;
background-color: #def5af;
/* Tailwind (arbitrary) */
class="text-[#def5af] bg-[#def5af]"
/* SCSS */
$brand: #def5af;
/* SwiftUI */
Color(red: 0.871, green: 0.961, blue: 0.686)
/* Android */
Color.parseColor("#def5af")Accessibility — WCAG contrast
Aa
#def5af on white: 1.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def5af on black: 17.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green96.1%
Blue68.6%
CMYK percentages
Cyan9.4%
Magenta0.0%
Yellow28.6%
Key (black)3.9%
Color previews
#def5af text on a black background
contrast 17.79:1
Card sample
#def5af text on a white background
contrast 1.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def5af;
Background color
Panel with #def5af background
background-color: #def5af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def5af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 245, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 245, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def5af; background: linear-gradient(135deg, #def5af, #B0F5AF);