#ecce28
a balanced, electric yellow · cool · closest name: gold
RGB
236, 206, 40
HSL
51°, 84%, 54%
CMYK
0, 13, 83, 8
Luminance
0.6213
Every format
| HEX | #ecce28 |
| RGB | rgb(236, 206, 40) |
| HSL | hsl(51, 84%, 54%) |
| CMYK | cmyk(0%, 13%, 83%, 8%) |
| LAB | lab(83.0 -4.9 77.5) |
| LCH | lch(83.0 77.7 93.6) |
| OKLCH | oklch(0.852 0.168 97.8) |
Copy-ready code
/* CSS */
color: #ecce28;
background-color: #ecce28;
/* Tailwind (arbitrary) */
class="text-[#ecce28] bg-[#ecce28]"
/* SCSS */
$brand: #ecce28;
/* SwiftUI */
Color(red: 0.925, green: 0.808, blue: 0.157)
/* Android */
Color.parseColor("#ecce28")Accessibility — WCAG contrast
Aa
#ecce28 on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecce28 on black: 13.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.8%
Blue15.7%
CMYK percentages
Cyan0.0%
Magenta12.7%
Yellow83.1%
Key (black)7.5%
Color previews
#ecce28 text on a black background
contrast 13.43:1
Card sample
#ecce28 text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecce28;
Background color
Panel with #ecce28 background
background-color: #ecce28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecce28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 206, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 206, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecce28; background: linear-gradient(135deg, #ecce28, #87EC28);