#d8eb49
a balanced, electric yellow · cool · closest name: yellow
RGB
216, 235, 73
HSL
67°, 80%, 60%
CMYK
8, 0, 69, 8
Luminance
0.7450
Every format
| HEX | #d8eb49 |
| RGB | rgb(216, 235, 73) |
| HSL | hsl(67, 80%, 60%) |
| CMYK | cmyk(8%, 0%, 69%, 8%) |
| LAB | lab(89.2 -26.2 72.4) |
| LCH | lch(89.2 77.0 109.9) |
| OKLCH | oklch(0.897 0.180 115.9) |
Copy-ready code
/* CSS */
color: #d8eb49;
background-color: #d8eb49;
/* Tailwind (arbitrary) */
class="text-[#d8eb49] bg-[#d8eb49]"
/* SCSS */
$brand: #d8eb49;
/* SwiftUI */
Color(red: 0.847, green: 0.922, blue: 0.286)
/* Android */
Color.parseColor("#d8eb49")Accessibility — WCAG contrast
Aa
#d8eb49 on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d8eb49 on black: 15.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red84.7%
Green92.2%
Blue28.6%
CMYK percentages
Cyan8.1%
Magenta0.0%
Yellow68.9%
Key (black)7.8%
Color previews
#d8eb49 text on a black background
contrast 15.90:1
Card sample
#d8eb49 text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d8eb49;
Background color
Panel with #d8eb49 background
background-color: #d8eb49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d8eb49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(216, 235, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 235, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d8eb49; background: linear-gradient(135deg, #d8eb49, #6CEB49);