#ecef1b
a balanced, electric yellow · cool · closest name: yellow
RGB
236, 239, 27
HSL
61°, 87%, 52%
CMYK
1, 0, 89, 6
Luminance
0.7965
Every format
| HEX | #ecef1b |
| RGB | rgb(236, 239, 27) |
| HSL | hsl(61, 87%, 52%) |
| CMYK | cmyk(1%, 0%, 89%, 6%) |
| LAB | lab(91.5 -21.5 87.0) |
| LCH | lch(91.5 89.6 103.9) |
| OKLCH | oklch(0.920 0.198 110.7) |
Copy-ready code
/* CSS */
color: #ecef1b;
background-color: #ecef1b;
/* Tailwind (arbitrary) */
class="text-[#ecef1b] bg-[#ecef1b]"
/* SCSS */
$brand: #ecef1b;
/* SwiftUI */
Color(red: 0.925, green: 0.937, blue: 0.106)
/* Android */
Color.parseColor("#ecef1b")Accessibility — WCAG contrast
Aa
#ecef1b on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecef1b on black: 16.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green93.7%
Blue10.6%
CMYK percentages
Cyan1.3%
Magenta0.0%
Yellow88.7%
Key (black)6.3%
Color previews
#ecef1b text on a black background
contrast 16.93:1
Card sample
#ecef1b text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecef1b;
Background color
Panel with #ecef1b background
background-color: #ecef1b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecef1b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 239, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 239, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecef1b; background: linear-gradient(135deg, #ecef1b, #5FEF1B);