#eccb39
a balanced, electric yellow · cool · closest name: gold
RGB
236, 203, 57
HSL
49°, 83%, 58%
CMYK
0, 14, 76, 8
Luminance
0.6084
Every format
| HEX | #eccb39 |
| RGB | rgb(236, 203, 57) |
| HSL | hsl(49, 83%, 58%) |
| CMYK | cmyk(0%, 14%, 76%, 8%) |
| LAB | lab(82.3 -2.8 71.9) |
| LCH | lch(82.3 72.0 92.2) |
| OKLCH | oklch(0.847 0.158 95.7) |
Copy-ready code
/* CSS */
color: #eccb39;
background-color: #eccb39;
/* Tailwind (arbitrary) */
class="text-[#eccb39] bg-[#eccb39]"
/* SCSS */
$brand: #eccb39;
/* SwiftUI */
Color(red: 0.925, green: 0.796, blue: 0.224)
/* Android */
Color.parseColor("#eccb39")Accessibility — WCAG contrast
Aa
#eccb39 on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccb39 on black: 13.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green79.6%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta14.0%
Yellow75.8%
Key (black)7.5%
Color previews
#eccb39 text on a black background
contrast 13.17:1
Card sample
#eccb39 text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccb39;
Background color
Panel with #eccb39 background
background-color: #eccb39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccb39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 203, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 203, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccb39; background: linear-gradient(135deg, #eccb39, #96EC39);