#def0c2
a pale, vivid green · cool · closest name: beige
RGB
222, 240, 194
HSL
84°, 61%, 85%
CMYK
8, 0, 19, 6
Luminance
0.8174
Every format
| HEX | #def0c2 |
| RGB | rgb(222, 240, 194) |
| HSL | hsl(84, 61%, 85%) |
| CMYK | cmyk(8%, 0%, 19%, 6%) |
| LAB | lab(92.5 -13.8 20.3) |
| LCH | lch(92.5 24.5 124.2) |
| OKLCH | oklch(0.930 0.064 125.0) |
Copy-ready code
/* CSS */
color: #def0c2;
background-color: #def0c2;
/* Tailwind (arbitrary) */
class="text-[#def0c2] bg-[#def0c2]"
/* SCSS */
$brand: #def0c2;
/* SwiftUI */
Color(red: 0.871, green: 0.941, blue: 0.761)
/* Android */
Color.parseColor("#def0c2")Accessibility — WCAG contrast
Aa
#def0c2 on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def0c2 on black: 17.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green94.1%
Blue76.1%
CMYK percentages
Cyan7.5%
Magenta0.0%
Yellow19.2%
Key (black)5.9%
Color previews
#def0c2 text on a black background
contrast 17.35:1
Card sample
#def0c2 text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def0c2;
Background color
Panel with #def0c2 background
background-color: #def0c2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def0c2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 240, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 240, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def0c2; background: linear-gradient(135deg, #def0c2, #C2F0C5);