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