#eccf20
a balanced, electric yellow · cool · closest name: gold
RGB
236, 207, 32
HSL
52°, 84%, 53%
CMYK
0, 12, 86, 8
Luminance
0.6256
Every format
| HEX | #eccf20 |
| RGB | rgb(236, 207, 32) |
| HSL | hsl(52, 84%, 53%) |
| CMYK | cmyk(0%, 12%, 86%, 8%) |
| LAB | lab(83.2 -5.6 79.5) |
| LCH | lch(83.2 79.7 94.0) |
| OKLCH | oklch(0.853 0.171 98.5) |
Copy-ready code
/* CSS */
color: #eccf20;
background-color: #eccf20;
/* Tailwind (arbitrary) */
class="text-[#eccf20] bg-[#eccf20]"
/* SCSS */
$brand: #eccf20;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.125)
/* Android */
Color.parseColor("#eccf20")Accessibility — WCAG contrast
Aa
#eccf20 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf20 on black: 13.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue12.5%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow86.4%
Key (black)7.5%
Color previews
#eccf20 text on a black background
contrast 13.51:1
Card sample
#eccf20 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf20;
Background color
Panel with #eccf20 background
background-color: #eccf20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf20; background: linear-gradient(135deg, #eccf20, #81EC20);