#defba2
a light, electric green · cool · closest name: khaki
RGB
222, 251, 162
HSL
80°, 92%, 81%
CMYK
12, 0, 36, 2
Luminance
0.8713
Every format
| HEX | #defba2 |
| RGB | rgb(222, 251, 162) |
| HSL | hsl(80, 92%, 81%) |
| CMYK | cmyk(12%, 0%, 36%, 2%) |
| LAB | lab(94.8 -23.6 39.6) |
| LCH | lch(94.8 46.1 120.8) |
| OKLCH | oklch(0.947 0.117 123.3) |
Copy-ready code
/* CSS */
color: #defba2;
background-color: #defba2;
/* Tailwind (arbitrary) */
class="text-[#defba2] bg-[#defba2]"
/* SCSS */
$brand: #defba2;
/* SwiftUI */
Color(red: 0.871, green: 0.984, blue: 0.635)
/* Android */
Color.parseColor("#defba2")Accessibility — WCAG contrast
Aa
#defba2 on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#defba2 on black: 18.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green98.4%
Blue63.5%
CMYK percentages
Cyan11.6%
Magenta0.0%
Yellow35.5%
Key (black)1.6%
Color previews
#defba2 text on a black background
contrast 18.43:1
Card sample
#defba2 text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #defba2;
Background color
Panel with #defba2 background
background-color: #defba2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #defba2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 251, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 251, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defba2; background: linear-gradient(135deg, #defba2, #A3FBA2);