#def7bc
a pale, electric green · cool · closest name: beige
RGB
222, 247, 188
HSL
85°, 79%, 85%
CMYK
10, 0, 24, 3
Luminance
0.8568
Every format
| HEX | #def7bc |
| RGB | rgb(222, 247, 188) |
| HSL | hsl(85, 79%, 85%) |
| CMYK | cmyk(10%, 0%, 24%, 3%) |
| LAB | lab(94.2 -18.1 25.7) |
| LCH | lch(94.2 31.5 125.2) |
| OKLCH | oklch(0.943 0.081 126.6) |
Copy-ready code
/* CSS */
color: #def7bc;
background-color: #def7bc;
/* Tailwind (arbitrary) */
class="text-[#def7bc] bg-[#def7bc]"
/* SCSS */
$brand: #def7bc;
/* SwiftUI */
Color(red: 0.871, green: 0.969, blue: 0.737)
/* Android */
Color.parseColor("#def7bc")Accessibility — WCAG contrast
Aa
#def7bc on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def7bc on black: 18.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green96.9%
Blue73.7%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow23.9%
Key (black)3.1%
Color previews
#def7bc text on a black background
contrast 18.14:1
Card sample
#def7bc text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def7bc;
Background color
Panel with #def7bc background
background-color: #def7bc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def7bc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 247, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 247, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def7bc; background: linear-gradient(135deg, #def7bc, #BCF7C1);