#ebdf30
a balanced, electric yellow · cool · closest name: gold
RGB
235, 223, 48
HSL
56°, 82%, 56%
CMYK
0, 5, 80, 8
Luminance
0.7065
Every format
| HEX | #ebdf30 |
| RGB | rgb(235, 223, 48) |
| HSL | hsl(56, 82%, 56%) |
| CMYK | cmyk(0%, 5%, 80%, 8%) |
| LAB | lab(87.3 -13.6 79.1) |
| LCH | lch(87.3 80.3 99.8) |
| OKLCH | oklch(0.886 0.177 105.3) |
Copy-ready code
/* CSS */
color: #ebdf30;
background-color: #ebdf30;
/* Tailwind (arbitrary) */
class="text-[#ebdf30] bg-[#ebdf30]"
/* SCSS */
$brand: #ebdf30;
/* SwiftUI */
Color(red: 0.922, green: 0.875, blue: 0.188)
/* Android */
Color.parseColor("#ebdf30")Accessibility — WCAG contrast
Aa
#ebdf30 on white: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebdf30 on black: 15.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green87.5%
Blue18.8%
CMYK percentages
Cyan0.0%
Magenta5.1%
Yellow79.6%
Key (black)7.8%
Color previews
#ebdf30 text on a black background
contrast 15.13:1
Card sample
#ebdf30 text on a white background
contrast 1.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebdf30;
Background color
Panel with #ebdf30 background
background-color: #ebdf30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebdf30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 223, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 223, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdf30; background: linear-gradient(135deg, #ebdf30, #7BEB30);