#defbc2
a pale, electric green · cool · closest name: beige
RGB
222, 251, 194
HSL
91°, 88%, 87%
CMYK
12, 0, 23, 2
Luminance
0.8842
Every format
| HEX | #defbc2 |
| RGB | rgb(222, 251, 194) |
| HSL | hsl(91, 88%, 87%) |
| CMYK | cmyk(12%, 0%, 23%, 2%) |
| LAB | lab(95.3 -19.2 24.3) |
| LCH | lch(95.3 30.9 128.3) |
| OKLCH | oklch(0.953 0.080 129.8) |
Copy-ready code
/* CSS */
color: #defbc2;
background-color: #defbc2;
/* Tailwind (arbitrary) */
class="text-[#defbc2] bg-[#defbc2]"
/* SCSS */
$brand: #defbc2;
/* SwiftUI */
Color(red: 0.871, green: 0.984, blue: 0.761)
/* Android */
Color.parseColor("#defbc2")Accessibility — WCAG contrast
Aa
#defbc2 on white: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#defbc2 on black: 18.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green98.4%
Blue76.1%
CMYK percentages
Cyan11.6%
Magenta0.0%
Yellow22.7%
Key (black)1.6%
Color previews
#defbc2 text on a black background
contrast 18.68:1
Card sample
#defbc2 text on a white background
contrast 1.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #defbc2;
Background color
Panel with #defbc2 background
background-color: #defbc2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #defbc2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 251, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 251, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defbc2; background: linear-gradient(135deg, #defbc2, #C2FBCC);