#ecec2d
a balanced, electric yellow · cool · closest name: yellow
RGB
236, 236, 45
HSL
60°, 83%, 55%
CMYK
0, 0, 81, 8
Luminance
0.7801
Every format
| HEX | #ecec2d |
| RGB | rgb(236, 236, 45) |
| HSL | hsl(60, 83%, 55%) |
| CMYK | cmyk(0%, 0%, 81%, 8%) |
| LAB | lab(90.8 -19.6 82.9) |
| LCH | lch(90.8 85.2 103.3) |
| OKLCH | oklch(0.914 0.190 109.6) |
Copy-ready code
/* CSS */
color: #ecec2d;
background-color: #ecec2d;
/* Tailwind (arbitrary) */
class="text-[#ecec2d] bg-[#ecec2d]"
/* SCSS */
$brand: #ecec2d;
/* SwiftUI */
Color(red: 0.925, green: 0.925, blue: 0.176)
/* Android */
Color.parseColor("#ecec2d")Accessibility — WCAG contrast
Aa
#ecec2d on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecec2d on black: 16.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.5%
Blue17.6%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow80.9%
Key (black)7.5%
Color previews
#ecec2d text on a black background
contrast 16.60:1
Card sample
#ecec2d text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecec2d;
Background color
Panel with #ecec2d background
background-color: #ecec2d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecec2d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 236, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 236, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecec2d; background: linear-gradient(135deg, #ecec2d, #6DEC2D);