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