#defac4
a pale, electric green · cool · closest name: beige
RGB
222, 250, 196
HSL
91°, 84%, 88%
CMYK
11, 0, 22, 2
Luminance
0.8789
Every format
| HEX | #defac4 |
| RGB | rgb(222, 250, 196) |
| HSL | hsl(91, 84%, 88%) |
| CMYK | cmyk(11%, 0%, 22%, 2%) |
| LAB | lab(95.1 -18.4 22.9) |
| LCH | lch(95.1 29.4 128.7) |
| OKLCH | oklch(0.951 0.077 130.1) |
Copy-ready code
/* CSS */
color: #defac4;
background-color: #defac4;
/* Tailwind (arbitrary) */
class="text-[#defac4] bg-[#defac4]"
/* SCSS */
$brand: #defac4;
/* SwiftUI */
Color(red: 0.871, green: 0.980, blue: 0.769)
/* Android */
Color.parseColor("#defac4")Accessibility — WCAG contrast
Aa
#defac4 on white: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#defac4 on black: 18.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green98.0%
Blue76.9%
CMYK percentages
Cyan11.2%
Magenta0.0%
Yellow21.6%
Key (black)2.0%
Color previews
#defac4 text on a black background
contrast 18.58:1
Card sample
#defac4 text on a white background
contrast 1.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #defac4;
Background color
Panel with #defac4 background
background-color: #defac4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #defac4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 250, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 250, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defac4; background: linear-gradient(135deg, #defac4, #C4FACE);