#ebba3f
a balanced, electric yellow · warm · closest name: orange
RGB
235, 186, 63
HSL
43°, 81%, 58%
CMYK
0, 21, 73, 8
Luminance
0.5314
Every format
| HEX | #ebba3f |
| RGB | rgb(235, 186, 63) |
| HSL | hsl(43, 81%, 58%) |
| CMYK | cmyk(0%, 21%, 73%, 8%) |
| LAB | lab(78.0 5.8 65.6) |
| LCH | lch(78.0 65.9 84.9) |
| OKLCH | oklch(0.812 0.145 86.1) |
Copy-ready code
/* CSS */
color: #ebba3f;
background-color: #ebba3f;
/* Tailwind (arbitrary) */
class="text-[#ebba3f] bg-[#ebba3f]"
/* SCSS */
$brand: #ebba3f;
/* SwiftUI */
Color(red: 0.922, green: 0.729, blue: 0.247)
/* Android */
Color.parseColor("#ebba3f")Accessibility — WCAG contrast
Aa
#ebba3f on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebba3f on black: 11.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green72.9%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta20.9%
Yellow73.2%
Key (black)7.8%
Color previews
#ebba3f text on a black background
contrast 11.63:1
Card sample
#ebba3f text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebba3f;
Background color
Panel with #ebba3f background
background-color: #ebba3f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebba3f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 186, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 186, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebba3f; background: linear-gradient(135deg, #ebba3f, #A9EB3F);