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