#ffef49
a balanced, electric yellow · cool · closest name: gold
RGB
255, 239, 73
HSL
55°, 100%, 64%
CMYK
0, 6, 71, 0
Luminance
0.8347
Every format
| HEX | #ffef49 |
| RGB | rgb(255, 239, 73) |
| HSL | hsl(55, 100%, 64%) |
| CMYK | cmyk(0%, 6%, 71%, 0%) |
| LAB | lab(93.2 -12.2 77.4) |
| LCH | lch(93.2 78.4 99.0) |
| OKLCH | oklch(0.937 0.176 103.7) |
Copy-ready code
/* CSS */
color: #ffef49;
background-color: #ffef49;
/* Tailwind (arbitrary) */
class="text-[#ffef49] bg-[#ffef49]"
/* SCSS */
$brand: #ffef49;
/* SwiftUI */
Color(red: 1.000, green: 0.937, blue: 0.286)
/* Android */
Color.parseColor("#ffef49")Accessibility — WCAG contrast
Aa
#ffef49 on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffef49 on black: 17.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green93.7%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta6.3%
Yellow71.4%
Key (black)0.0%
Color previews
#ffef49 text on a black background
contrast 17.69:1
Card sample
#ffef49 text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffef49;
Background color
Panel with #ffef49 background
background-color: #ffef49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffef49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 239, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 239, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffef49; background: linear-gradient(135deg, #ffef49, #96FF49);