#e1b310
a balanced, electric yellow · cool · closest name: gold
RGB
225, 179, 16
HSL
47°, 87%, 47%
CMYK
0, 20, 93, 12
Luminance
0.4829
Every format
| HEX | #e1b310 |
| RGB | rgb(225, 179, 16) |
| HSL | hsl(47, 87%, 47%) |
| CMYK | cmyk(0%, 20%, 93%, 12%) |
| LAB | lab(75.0 3.9 75.6) |
| LCH | lch(75.0 75.7 87.1) |
| OKLCH | oklch(0.786 0.158 89.7) |
Copy-ready code
/* CSS */
color: #e1b310;
background-color: #e1b310;
/* Tailwind (arbitrary) */
class="text-[#e1b310] bg-[#e1b310]"
/* SCSS */
$brand: #e1b310;
/* SwiftUI */
Color(red: 0.882, green: 0.702, blue: 0.063)
/* Android */
Color.parseColor("#e1b310")Accessibility — WCAG contrast
Aa
#e1b310 on white: 1.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e1b310 on black: 10.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red88.2%
Green70.2%
Blue6.3%
CMYK percentages
Cyan0.0%
Magenta20.4%
Yellow92.9%
Key (black)11.8%
Color previews
#e1b310 text on a black background
contrast 10.66:1
Card sample
#e1b310 text on a white background
contrast 1.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e1b310;
Background color
Panel with #e1b310 background
background-color: #e1b310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e1b310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(225, 179, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(225, 179, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e1b310; background: linear-gradient(135deg, #e1b310, #84E110);