#eccd40
a balanced, electric yellow · cool · closest name: gold
RGB
236, 205, 64
HSL
49°, 82%, 59%
CMYK
0, 13, 73, 8
Luminance
0.6187
Every format
| HEX | #eccd40 |
| RGB | rgb(236, 205, 64) |
| HSL | hsl(49, 82%, 59%) |
| CMYK | cmyk(0%, 13%, 73%, 8%) |
| LAB | lab(82.8 -3.5 70.0) |
| LCH | lch(82.8 70.1 92.9) |
| OKLCH | oklch(0.851 0.155 96.3) |
Copy-ready code
/* CSS */
color: #eccd40;
background-color: #eccd40;
/* Tailwind (arbitrary) */
class="text-[#eccd40] bg-[#eccd40]"
/* SCSS */
$brand: #eccd40;
/* SwiftUI */
Color(red: 0.925, green: 0.804, blue: 0.251)
/* Android */
Color.parseColor("#eccd40")Accessibility — WCAG contrast
Aa
#eccd40 on white: 1.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccd40 on black: 13.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.4%
Blue25.1%
CMYK percentages
Cyan0.0%
Magenta13.1%
Yellow72.9%
Key (black)7.5%
Color previews
#eccd40 text on a black background
contrast 13.37:1
Card sample
#eccd40 text on a white background
contrast 1.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccd40;
Background color
Panel with #eccd40 background
background-color: #eccd40;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccd40;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 205, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 205, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccd40; background: linear-gradient(135deg, #eccd40, #98EC40);