#defab2
a light, electric green · cool · closest name: khaki
RGB
222, 250, 178
HSL
83°, 88%, 84%
CMYK
11, 0, 29, 2
Luminance
0.8712
Every format
| HEX | #defab2 |
| RGB | rgb(222, 250, 178) |
| HSL | hsl(83, 88%, 84%) |
| CMYK | cmyk(11%, 0%, 29%, 2%) |
| LAB | lab(94.8 -21.0 31.6) |
| LCH | lch(94.8 38.0 123.6) |
| OKLCH | oklch(0.948 0.098 125.5) |
Copy-ready code
/* CSS */
color: #defab2;
background-color: #defab2;
/* Tailwind (arbitrary) */
class="text-[#defab2] bg-[#defab2]"
/* SCSS */
$brand: #defab2;
/* SwiftUI */
Color(red: 0.871, green: 0.980, blue: 0.698)
/* Android */
Color.parseColor("#defab2")Accessibility — WCAG contrast
Aa
#defab2 on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#defab2 on black: 18.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green98.0%
Blue69.8%
CMYK percentages
Cyan11.2%
Magenta0.0%
Yellow28.8%
Key (black)2.0%
Color previews
#defab2 text on a black background
contrast 18.42:1
Card sample
#defab2 text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #defab2;
Background color
Panel with #defab2 background
background-color: #defab2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #defab2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 250, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 250, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defab2; background: linear-gradient(135deg, #defab2, #B2FAB6);