#defba9
a light, electric green · cool · closest name: khaki
RGB
222, 251, 169
HSL
81°, 91%, 82%
CMYK
12, 0, 33, 2
Luminance
0.8739
Every format
| HEX | #defba9 |
| RGB | rgb(222, 251, 169) |
| HSL | hsl(81, 91%, 82%) |
| CMYK | cmyk(12%, 0%, 33%, 2%) |
| LAB | lab(94.9 -22.7 36.3) |
| LCH | lch(94.9 42.8 122.0) |
| OKLCH | oklch(0.948 0.109 124.3) |
Copy-ready code
/* CSS */
color: #defba9;
background-color: #defba9;
/* Tailwind (arbitrary) */
class="text-[#defba9] bg-[#defba9]"
/* SCSS */
$brand: #defba9;
/* SwiftUI */
Color(red: 0.871, green: 0.984, blue: 0.663)
/* Android */
Color.parseColor("#defba9")Accessibility — WCAG contrast
Aa
#defba9 on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#defba9 on black: 18.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green98.4%
Blue66.3%
CMYK percentages
Cyan11.6%
Magenta0.0%
Yellow32.7%
Key (black)1.6%
Color previews
#defba9 text on a black background
contrast 18.48:1
Card sample
#defba9 text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #defba9;
Background color
Panel with #defba9 background
background-color: #defba9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #defba9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 251, 169, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 251, 169, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defba9; background: linear-gradient(135deg, #defba9, #A9FBAB);