#ecec0d
a balanced, electric yellow · cool · closest name: yellow
RGB
236, 236, 13
HSL
60°, 90%, 49%
CMYK
0, 0, 95, 8
Luminance
0.7785
Every format
| HEX | #ecec0d |
| RGB | rgb(236, 236, 13) |
| HSL | hsl(60, 90%, 49%) |
| CMYK | cmyk(0%, 0%, 95%, 8%) |
| LAB | lab(90.7 -20.2 88.1) |
| LCH | lch(90.7 90.4 102.9) |
| OKLCH | oklch(0.913 0.198 109.7) |
Copy-ready code
/* CSS */
color: #ecec0d;
background-color: #ecec0d;
/* Tailwind (arbitrary) */
class="text-[#ecec0d] bg-[#ecec0d]"
/* SCSS */
$brand: #ecec0d;
/* SwiftUI */
Color(red: 0.925, green: 0.925, blue: 0.051)
/* Android */
Color.parseColor("#ecec0d")Accessibility — WCAG contrast
Aa
#ecec0d on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecec0d on black: 16.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.5%
Blue5.1%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow94.5%
Key (black)7.5%
Color previews
#ecec0d text on a black background
contrast 16.57:1
Card sample
#ecec0d text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecec0d;
Background color
Panel with #ecec0d background
background-color: #ecec0d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecec0d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 236, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 236, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecec0d; background: linear-gradient(135deg, #ecec0d, #57EC0D);