#ebdb50
a balanced, electric yellow · cool · closest name: gold
RGB
235, 219, 80
HSL
54°, 80%, 62%
CMYK
0, 7, 66, 8
Luminance
0.6890
Every format
| HEX | #ebdb50 |
| RGB | rgb(235, 219, 80) |
| HSL | hsl(54, 80%, 62%) |
| CMYK | cmyk(0%, 7%, 66%, 8%) |
| LAB | lab(86.5 -10.2 67.5) |
| LCH | lch(86.5 68.3 98.6) |
| OKLCH | oklch(0.880 0.156 102.7) |
Copy-ready code
/* CSS */
color: #ebdb50;
background-color: #ebdb50;
/* Tailwind (arbitrary) */
class="text-[#ebdb50] bg-[#ebdb50]"
/* SCSS */
$brand: #ebdb50;
/* SwiftUI */
Color(red: 0.922, green: 0.859, blue: 0.314)
/* Android */
Color.parseColor("#ebdb50")Accessibility — WCAG contrast
Aa
#ebdb50 on white: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebdb50 on black: 14.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green85.9%
Blue31.4%
CMYK percentages
Cyan0.0%
Magenta6.8%
Yellow66.0%
Key (black)7.8%
Color previews
#ebdb50 text on a black background
contrast 14.78:1
Card sample
#ebdb50 text on a white background
contrast 1.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebdb50;
Background color
Panel with #ebdb50 background
background-color: #ebdb50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebdb50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 219, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 219, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdb50; background: linear-gradient(135deg, #ebdb50, #94EB50);