#ecee49
a balanced, electric yellow · cool · closest name: yellow
RGB
236, 238, 73
HSL
61°, 83%, 61%
CMYK
1, 0, 69, 7
Luminance
0.7946
Every format
| HEX | #ecee49 |
| RGB | rgb(236, 238, 73) |
| HSL | hsl(61, 83%, 61%) |
| CMYK | cmyk(1%, 0%, 69%, 7%) |
| LAB | lab(91.4 -19.5 75.2) |
| LCH | lch(91.4 77.7 104.6) |
| OKLCH | oklch(0.919 0.178 110.1) |
Copy-ready code
/* CSS */
color: #ecee49;
background-color: #ecee49;
/* Tailwind (arbitrary) */
class="text-[#ecee49] bg-[#ecee49]"
/* SCSS */
$brand: #ecee49;
/* SwiftUI */
Color(red: 0.925, green: 0.933, blue: 0.286)
/* Android */
Color.parseColor("#ecee49")Accessibility — WCAG contrast
Aa
#ecee49 on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecee49 on black: 16.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green93.3%
Blue28.6%
CMYK percentages
Cyan0.8%
Magenta0.0%
Yellow69.3%
Key (black)6.7%
Color previews
#ecee49 text on a black background
contrast 16.89:1
Card sample
#ecee49 text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecee49;
Background color
Panel with #ecee49 background
background-color: #ecee49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecee49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 238, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 238, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecee49; background: linear-gradient(135deg, #ecee49, #7EEE49);