#defbaf
a light, electric green · cool · closest name: khaki
RGB
222, 251, 175
HSL
83°, 91%, 84%
CMYK
12, 0, 30, 2
Luminance
0.8762
Every format
| HEX | #defbaf |
| RGB | rgb(222, 251, 175) |
| HSL | hsl(83, 91%, 84%) |
| CMYK | cmyk(12%, 0%, 30%, 2%) |
| LAB | lab(95.0 -21.9 33.4) |
| LCH | lch(95.0 40.0 123.2) |
| OKLCH | oklch(0.949 0.102 125.3) |
Copy-ready code
/* CSS */
color: #defbaf;
background-color: #defbaf;
/* Tailwind (arbitrary) */
class="text-[#defbaf] bg-[#defbaf]"
/* SCSS */
$brand: #defbaf;
/* SwiftUI */
Color(red: 0.871, green: 0.984, blue: 0.686)
/* Android */
Color.parseColor("#defbaf")Accessibility — WCAG contrast
Aa
#defbaf on white: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#defbaf on black: 18.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green98.4%
Blue68.6%
CMYK percentages
Cyan11.6%
Magenta0.0%
Yellow30.3%
Key (black)1.6%
Color previews
#defbaf text on a black background
contrast 18.52:1
Card sample
#defbaf text on a white background
contrast 1.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #defbaf;
Background color
Panel with #defbaf background
background-color: #defbaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #defbaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 251, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 251, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defbaf; background: linear-gradient(135deg, #defbaf, #AFFBB3);