#e1af13
a balanced, electric yellow · cool · closest name: orange
RGB
225, 175, 19
HSL
45°, 84%, 48%
CMYK
0, 22, 92, 12
Luminance
0.4671
Every format
| HEX | #e1af13 |
| RGB | rgb(225, 175, 19) |
| HSL | hsl(45, 84%, 48%) |
| CMYK | cmyk(0%, 22%, 92%, 12%) |
| LAB | lab(74.0 6.0 74.4) |
| LCH | lch(74.0 74.6 85.4) |
| OKLCH | oklch(0.778 0.156 87.4) |
Copy-ready code
/* CSS */
color: #e1af13;
background-color: #e1af13;
/* Tailwind (arbitrary) */
class="text-[#e1af13] bg-[#e1af13]"
/* SCSS */
$brand: #e1af13;
/* SwiftUI */
Color(red: 0.882, green: 0.686, blue: 0.075)
/* Android */
Color.parseColor("#e1af13")Accessibility — WCAG contrast
Aa
#e1af13 on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e1af13 on black: 10.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red88.2%
Green68.6%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta22.2%
Yellow91.6%
Key (black)11.8%
Color previews
#e1af13 text on a black background
contrast 10.34:1
Card sample
#e1af13 text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e1af13;
Background color
Panel with #e1af13 background
background-color: #e1af13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e1af13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(225, 175, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(225, 175, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e1af13; background: linear-gradient(135deg, #e1af13, #8AE113);