#d7eb30
a balanced, electric yellow · cool · closest name: yellow
RGB
215, 235, 48
HSL
66°, 82%, 56%
CMYK
9, 0, 80, 8
Luminance
0.7408
Every format
| HEX | #d7eb30 |
| RGB | rgb(215, 235, 48) |
| HSL | hsl(66, 82%, 56%) |
| CMYK | cmyk(9%, 0%, 80%, 8%) |
| LAB | lab(89.0 -27.7 80.0) |
| LCH | lch(89.0 84.6 109.1) |
| OKLCH | oklch(0.895 0.193 116.0) |
Copy-ready code
/* CSS */
color: #d7eb30;
background-color: #d7eb30;
/* Tailwind (arbitrary) */
class="text-[#d7eb30] bg-[#d7eb30]"
/* SCSS */
$brand: #d7eb30;
/* SwiftUI */
Color(red: 0.843, green: 0.922, blue: 0.188)
/* Android */
Color.parseColor("#d7eb30")Accessibility — WCAG contrast
Aa
#d7eb30 on white: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d7eb30 on black: 15.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red84.3%
Green92.2%
Blue18.8%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow79.6%
Key (black)7.8%
Color previews
#d7eb30 text on a black background
contrast 15.82:1
Card sample
#d7eb30 text on a white background
contrast 1.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d7eb30;
Background color
Panel with #d7eb30 background
background-color: #d7eb30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d7eb30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(215, 235, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 235, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7eb30; background: linear-gradient(135deg, #d7eb30, #5AEB30);