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