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