#eccf0d
a balanced, electric yellow · cool · closest name: gold
RGB
236, 207, 13
HSL
52°, 90%, 49%
CMYK
0, 12, 95, 8
Luminance
0.6249
Every format
| HEX | #eccf0d |
| RGB | rgb(236, 207, 13) |
| HSL | hsl(52, 90%, 49%) |
| CMYK | cmyk(0%, 12%, 95%, 8%) |
| LAB | lab(83.2 -5.9 82.5) |
| LCH | lch(83.2 82.7 94.1) |
| OKLCH | oklch(0.853 0.175 98.9) |
Copy-ready code
/* CSS */
color: #eccf0d;
background-color: #eccf0d;
/* Tailwind (arbitrary) */
class="text-[#eccf0d] bg-[#eccf0d]"
/* SCSS */
$brand: #eccf0d;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.051)
/* Android */
Color.parseColor("#eccf0d")Accessibility — WCAG contrast
Aa
#eccf0d on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf0d on black: 13.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue5.1%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow94.5%
Key (black)7.5%
Color previews
#eccf0d text on a black background
contrast 13.50:1
Card sample
#eccf0d text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf0d;
Background color
Panel with #eccf0d background
background-color: #eccf0d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf0d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf0d; background: linear-gradient(135deg, #eccf0d, #74EC0D);