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