#defac0
a pale, electric green · cool · closest name: beige
RGB
222, 250, 192
HSL
89°, 85%, 87%
CMYK
11, 0, 23, 2
Luminance
0.8771
Every format
| HEX | #defac0 |
| RGB | rgb(222, 250, 192) |
| HSL | hsl(89, 85%, 87%) |
| CMYK | cmyk(11%, 0%, 23%, 2%) |
| LAB | lab(95.0 -19.0 24.9) |
| LCH | lch(95.0 31.3 127.4) |
| OKLCH | oklch(0.950 0.081 128.8) |
Copy-ready code
/* CSS */
color: #defac0;
background-color: #defac0;
/* Tailwind (arbitrary) */
class="text-[#defac0] bg-[#defac0]"
/* SCSS */
$brand: #defac0;
/* SwiftUI */
Color(red: 0.871, green: 0.980, blue: 0.753)
/* Android */
Color.parseColor("#defac0")Accessibility — WCAG contrast
Aa
#defac0 on white: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#defac0 on black: 18.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green98.0%
Blue75.3%
CMYK percentages
Cyan11.2%
Magenta0.0%
Yellow23.2%
Key (black)2.0%
Color previews
#defac0 text on a black background
contrast 18.54:1
Card sample
#defac0 text on a white background
contrast 1.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #defac0;
Background color
Panel with #defac0 background
background-color: #defac0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #defac0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 250, 192, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 250, 192, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defac0; background: linear-gradient(135deg, #defac0, #C0FAC9);