#ecfb13
a balanced, electric yellow · cool · closest name: yellow
RGB
236, 251, 19
HSL
64°, 97%, 53%
CMYK
6, 0, 92, 2
Luminance
0.8687
Every format
| HEX | #ecfb13 |
| RGB | rgb(236, 251, 19) |
| HSL | hsl(64, 97%, 53%) |
| CMYK | cmyk(6%, 0%, 92%, 2%) |
| LAB | lab(94.7 -27.3 90.5) |
| LCH | lch(94.7 94.5 106.8) |
| OKLCH | oklch(0.945 0.210 114.1) |
Copy-ready code
/* CSS */
color: #ecfb13;
background-color: #ecfb13;
/* Tailwind (arbitrary) */
class="text-[#ecfb13] bg-[#ecfb13]"
/* SCSS */
$brand: #ecfb13;
/* SwiftUI */
Color(red: 0.925, green: 0.984, blue: 0.075)
/* Android */
Color.parseColor("#ecfb13")Accessibility — WCAG contrast
Aa
#ecfb13 on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecfb13 on black: 18.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green98.4%
Blue7.5%
CMYK percentages
Cyan6.0%
Magenta0.0%
Yellow92.4%
Key (black)1.6%
Color previews
#ecfb13 text on a black background
contrast 18.37:1
Card sample
#ecfb13 text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecfb13;
Background color
Panel with #ecfb13 background
background-color: #ecfb13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecfb13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 251, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 251, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecfb13; background: linear-gradient(135deg, #ecfb13, #51FB13);