#ebdf45
a balanced, electric yellow · cool · closest name: gold
RGB
235, 223, 69
HSL
56°, 81%, 60%
CMYK
0, 5, 71, 8
Luminance
0.7087
Every format
| HEX | #ebdf45 |
| RGB | rgb(235, 223, 69) |
| HSL | hsl(56, 81%, 60%) |
| CMYK | cmyk(0%, 5%, 71%, 8%) |
| LAB | lab(87.4 -12.8 72.7) |
| LCH | lch(87.4 73.8 100.0) |
| OKLCH | oklch(0.887 0.167 104.8) |
Copy-ready code
/* CSS */
color: #ebdf45;
background-color: #ebdf45;
/* Tailwind (arbitrary) */
class="text-[#ebdf45] bg-[#ebdf45]"
/* SCSS */
$brand: #ebdf45;
/* SwiftUI */
Color(red: 0.922, green: 0.875, blue: 0.271)
/* Android */
Color.parseColor("#ebdf45")Accessibility — WCAG contrast
Aa
#ebdf45 on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebdf45 on black: 15.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green87.5%
Blue27.1%
CMYK percentages
Cyan0.0%
Magenta5.1%
Yellow70.6%
Key (black)7.8%
Color previews
#ebdf45 text on a black background
contrast 15.17:1
Card sample
#ebdf45 text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebdf45;
Background color
Panel with #ebdf45 background
background-color: #ebdf45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebdf45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 223, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 223, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdf45; background: linear-gradient(135deg, #ebdf45, #88EB45);