#eccd00
a balanced, electric yellow · cool · closest name: gold
RGB
236, 205, 0
HSL
52°, 100%, 46%
CMYK
0, 13, 100, 8
Luminance
0.6150
Every format
| HEX | #eccd00 |
| RGB | rgb(236, 205, 0) |
| HSL | hsl(52, 100%, 46%) |
| CMYK | cmyk(0%, 13%, 100%, 8%) |
| LAB | lab(82.7 -5.0 83.3) |
| LCH | lch(82.7 83.4 93.4) |
| OKLCH | oklch(0.849 0.175 98.1) |
Copy-ready code
/* CSS */
color: #eccd00;
background-color: #eccd00;
/* Tailwind (arbitrary) */
class="text-[#eccd00] bg-[#eccd00]"
/* SCSS */
$brand: #eccd00;
/* SwiftUI */
Color(red: 0.925, green: 0.804, blue: 0.000)
/* Android */
Color.parseColor("#eccd00")Accessibility — WCAG contrast
Aa
#eccd00 on white: 1.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccd00 on black: 13.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.4%
Blue0.0%
CMYK percentages
Cyan0.0%
Magenta13.1%
Yellow100.0%
Key (black)7.5%
Color previews
#eccd00 text on a black background
contrast 13.30:1
Card sample
#eccd00 text on a white background
contrast 1.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccd00;
Background color
Panel with #eccd00 background
background-color: #eccd00;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccd00;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 205, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 205, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccd00; background: linear-gradient(135deg, #eccd00, #6EEC00);