#eccd47
a balanced, electric yellow · cool · closest name: gold
RGB
236, 205, 71
HSL
49°, 81%, 60%
CMYK
0, 13, 70, 8
Luminance
0.6195
Every format
| HEX | #eccd47 |
| RGB | rgb(236, 205, 71) |
| HSL | hsl(49, 81%, 60%) |
| CMYK | cmyk(0%, 13%, 70%, 8%) |
| LAB | lab(82.9 -3.2 67.5) |
| LCH | lch(82.9 67.5 92.7) |
| OKLCH | oklch(0.852 0.151 95.8) |
Copy-ready code
/* CSS */
color: #eccd47;
background-color: #eccd47;
/* Tailwind (arbitrary) */
class="text-[#eccd47] bg-[#eccd47]"
/* SCSS */
$brand: #eccd47;
/* SwiftUI */
Color(red: 0.925, green: 0.804, blue: 0.278)
/* Android */
Color.parseColor("#eccd47")Accessibility — WCAG contrast
Aa
#eccd47 on white: 1.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccd47 on black: 13.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.4%
Blue27.8%
CMYK percentages
Cyan0.0%
Magenta13.1%
Yellow69.9%
Key (black)7.5%
Color previews
#eccd47 text on a black background
contrast 13.39:1
Card sample
#eccd47 text on a white background
contrast 1.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccd47;
Background color
Panel with #eccd47 background
background-color: #eccd47;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccd47;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 205, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 205, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccd47; background: linear-gradient(135deg, #eccd47, #9DEC47);