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