#ecfc0f
a balanced, electric yellow · cool · closest name: yellow
RGB
236, 252, 15
HSL
64°, 98%, 52%
CMYK
6, 0, 94, 1
Luminance
0.8749
Every format
| HEX | #ecfc0f |
| RGB | rgb(236, 252, 15) |
| HSL | hsl(64, 98%, 52%) |
| CMYK | cmyk(6%, 0%, 94%, 1%) |
| LAB | lab(95.0 -27.8 91.1) |
| LCH | lch(95.0 95.3 107.0) |
| OKLCH | oklch(0.947 0.212 114.4) |
Copy-ready code
/* CSS */
color: #ecfc0f;
background-color: #ecfc0f;
/* Tailwind (arbitrary) */
class="text-[#ecfc0f] bg-[#ecfc0f]"
/* SCSS */
$brand: #ecfc0f;
/* SwiftUI */
Color(red: 0.925, green: 0.988, blue: 0.059)
/* Android */
Color.parseColor("#ecfc0f")Accessibility — WCAG contrast
Aa
#ecfc0f on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecfc0f on black: 18.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green98.8%
Blue5.9%
CMYK percentages
Cyan6.3%
Magenta0.0%
Yellow94.0%
Key (black)1.2%
Color previews
#ecfc0f text on a black background
contrast 18.50:1
Card sample
#ecfc0f text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecfc0f;
Background color
Panel with #ecfc0f background
background-color: #ecfc0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecfc0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 252, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 252, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecfc0f; background: linear-gradient(135deg, #ecfc0f, #4EFC0F);