#def0ce
a pale, vivid green · cool · closest name: beige
RGB
222, 240, 206
HSL
92°, 53%, 88%
CMYK
8, 0, 14, 6
Luminance
0.8231
Every format
| HEX | #def0ce |
| RGB | rgb(222, 240, 206) |
| HSL | hsl(92, 53%, 88%) |
| CMYK | cmyk(8%, 0%, 14%, 6%) |
| LAB | lab(92.7 -11.9 14.4) |
| LCH | lch(92.7 18.7 129.4) |
| OKLCH | oklch(0.933 0.049 130.2) |
Copy-ready code
/* CSS */
color: #def0ce;
background-color: #def0ce;
/* Tailwind (arbitrary) */
class="text-[#def0ce] bg-[#def0ce]"
/* SCSS */
$brand: #def0ce;
/* SwiftUI */
Color(red: 0.871, green: 0.941, blue: 0.808)
/* Android */
Color.parseColor("#def0ce")Accessibility — WCAG contrast
Aa
#def0ce on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def0ce on black: 17.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green94.1%
Blue80.8%
CMYK percentages
Cyan7.5%
Magenta0.0%
Yellow14.2%
Key (black)5.9%
Color previews
#def0ce text on a black background
contrast 17.46:1
Card sample
#def0ce text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def0ce;
Background color
Panel with #def0ce background
background-color: #def0ce;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def0ce;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 240, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 240, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def0ce; background: linear-gradient(135deg, #def0ce, #CEF0D5);