#d8ffb8
a pale, electric green · cool · closest name: khaki
RGB
216, 255, 184
HSL
93°, 100%, 86%
CMYK
15, 0, 28, 0
Luminance
0.8958
Every format
| HEX | #d8ffb8 |
| RGB | rgb(216, 255, 184) |
| HSL | hsl(93, 100%, 86%) |
| CMYK | cmyk(15%, 0%, 28%, 0%) |
| LAB | lab(95.8 -24.7 29.9) |
| LCH | lch(95.8 38.8 129.5) |
| OKLCH | oklch(0.955 0.101 131.5) |
Copy-ready code
/* CSS */
color: #d8ffb8;
background-color: #d8ffb8;
/* Tailwind (arbitrary) */
class="text-[#d8ffb8] bg-[#d8ffb8]"
/* SCSS */
$brand: #d8ffb8;
/* SwiftUI */
Color(red: 0.847, green: 1.000, blue: 0.722)
/* Android */
Color.parseColor("#d8ffb8")Accessibility — WCAG contrast
Aa
#d8ffb8 on white: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d8ffb8 on black: 18.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red84.7%
Green100.0%
Blue72.2%
CMYK percentages
Cyan15.3%
Magenta0.0%
Yellow27.8%
Key (black)0.0%
Color previews
#d8ffb8 text on a black background
contrast 18.92:1
Card sample
#d8ffb8 text on a white background
contrast 1.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d8ffb8;
Background color
Panel with #d8ffb8 background
background-color: #d8ffb8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d8ffb8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(216, 255, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 255, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d8ffb8; background: linear-gradient(135deg, #d8ffb8, #B8FFC7);