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