#def0cb
a pale, vivid green · cool · closest name: beige
RGB
222, 240, 203
HSL
89°, 55%, 87%
CMYK
8, 0, 15, 6
Luminance
0.8216
Every format
| HEX | #def0cb |
| RGB | rgb(222, 240, 203) |
| HSL | hsl(89, 55%, 87%) |
| CMYK | cmyk(8%, 0%, 15%, 6%) |
| LAB | lab(92.7 -12.4 15.9) |
| LCH | lch(92.7 20.2 127.9) |
| OKLCH | oklch(0.932 0.052 128.6) |
Copy-ready code
/* CSS */
color: #def0cb;
background-color: #def0cb;
/* Tailwind (arbitrary) */
class="text-[#def0cb] bg-[#def0cb]"
/* SCSS */
$brand: #def0cb;
/* SwiftUI */
Color(red: 0.871, green: 0.941, blue: 0.796)
/* Android */
Color.parseColor("#def0cb")Accessibility — WCAG contrast
Aa
#def0cb on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def0cb on black: 17.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green94.1%
Blue79.6%
CMYK percentages
Cyan7.5%
Magenta0.0%
Yellow15.4%
Key (black)5.9%
Color previews
#def0cb text on a black background
contrast 17.43:1
Card sample
#def0cb text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def0cb;
Background color
Panel with #def0cb background
background-color: #def0cb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def0cb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 240, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 240, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def0cb; background: linear-gradient(135deg, #def0cb, #CBF0D1);