#eccd39
a balanced, electric yellow · cool · closest name: gold
RGB
236, 205, 57
HSL
50°, 83%, 58%
CMYK
0, 13, 76, 8
Luminance
0.6179
Every format
| HEX | #eccd39 |
| RGB | rgb(236, 205, 57) |
| HSL | hsl(50, 83%, 58%) |
| CMYK | cmyk(0%, 13%, 76%, 8%) |
| LAB | lab(82.8 -3.8 72.4) |
| LCH | lch(82.8 72.5 93.0) |
| OKLCH | oklch(0.851 0.159 96.7) |
Copy-ready code
/* CSS */
color: #eccd39;
background-color: #eccd39;
/* Tailwind (arbitrary) */
class="text-[#eccd39] bg-[#eccd39]"
/* SCSS */
$brand: #eccd39;
/* SwiftUI */
Color(red: 0.925, green: 0.804, blue: 0.224)
/* Android */
Color.parseColor("#eccd39")Accessibility — WCAG contrast
Aa
#eccd39 on white: 1.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccd39 on black: 13.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.4%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta13.1%
Yellow75.8%
Key (black)7.5%
Color previews
#eccd39 text on a black background
contrast 13.36:1
Card sample
#eccd39 text on a white background
contrast 1.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccd39;
Background color
Panel with #eccd39 background
background-color: #eccd39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccd39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 205, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 205, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccd39; background: linear-gradient(135deg, #eccd39, #94EC39);