#ffef1d
a balanced, electric yellow · cool · closest name: yellow
RGB
255, 239, 29
HSL
56°, 100%, 56%
CMYK
0, 6, 89, 0
Luminance
0.8308
Every format
| HEX | #ffef1d |
| RGB | rgb(255, 239, 29) |
| HSL | hsl(56, 100%, 56%) |
| CMYK | cmyk(0%, 6%, 89%, 0%) |
| LAB | lab(93.0 -13.6 88.6) |
| LCH | lch(93.0 89.6 98.7) |
| OKLCH | oklch(0.935 0.194 104.5) |
Copy-ready code
/* CSS */
color: #ffef1d;
background-color: #ffef1d;
/* Tailwind (arbitrary) */
class="text-[#ffef1d] bg-[#ffef1d]"
/* SCSS */
$brand: #ffef1d;
/* SwiftUI */
Color(red: 1.000, green: 0.937, blue: 0.114)
/* Android */
Color.parseColor("#ffef1d")Accessibility — WCAG contrast
Aa
#ffef1d on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffef1d on black: 17.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green93.7%
Blue11.4%
CMYK percentages
Cyan0.0%
Magenta6.3%
Yellow88.6%
Key (black)0.0%
Color previews
#ffef1d text on a black background
contrast 17.62:1
Card sample
#ffef1d text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffef1d;
Background color
Panel with #ffef1d background
background-color: #ffef1d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffef1d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 239, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 239, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffef1d; background: linear-gradient(135deg, #ffef1d, #78FF1D);