#eccf4d
a balanced, electric yellow · cool · closest name: gold
RGB
236, 207, 77
HSL
49°, 81%, 61%
CMYK
0, 12, 67, 8
Luminance
0.6299
Every format
| HEX | #eccf4d |
| RGB | rgb(236, 207, 77) |
| HSL | hsl(49, 81%, 61%) |
| CMYK | cmyk(0%, 12%, 67%, 8%) |
| LAB | lab(83.4 -3.9 65.7) |
| LCH | lch(83.4 65.8 93.4) |
| OKLCH | oklch(0.856 0.148 96.4) |
Copy-ready code
/* CSS */
color: #eccf4d;
background-color: #eccf4d;
/* Tailwind (arbitrary) */
class="text-[#eccf4d] bg-[#eccf4d]"
/* SCSS */
$brand: #eccf4d;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.302)
/* Android */
Color.parseColor("#eccf4d")Accessibility — WCAG contrast
Aa
#eccf4d on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf4d on black: 13.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue30.2%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow67.4%
Key (black)7.5%
Color previews
#eccf4d text on a black background
contrast 13.60:1
Card sample
#eccf4d text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf4d;
Background color
Panel with #eccf4d background
background-color: #eccf4d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf4d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf4d; background: linear-gradient(135deg, #eccf4d, #9FEC4D);