#fdf119
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 241, 25
HSL
57°, 98%, 55%
CMYK
0, 5, 90, 1
Luminance
0.8386
Every format
| HEX | #fdf119 |
| RGB | rgb(253, 241, 25) |
| HSL | hsl(57, 98%, 55%) |
| CMYK | cmyk(0%, 5%, 90%, 1%) |
| LAB | lab(93.4 -15.4 89.4) |
| LCH | lch(93.4 90.7 99.8) |
| OKLCH | oklch(0.938 0.197 105.9) |
Copy-ready code
/* CSS */
color: #fdf119;
background-color: #fdf119;
/* Tailwind (arbitrary) */
class="text-[#fdf119] bg-[#fdf119]"
/* SCSS */
$brand: #fdf119;
/* SwiftUI */
Color(red: 0.992, green: 0.945, blue: 0.098)
/* Android */
Color.parseColor("#fdf119")Accessibility — WCAG contrast
Aa
#fdf119 on white: 1.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf119 on black: 17.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green94.5%
Blue9.8%
CMYK percentages
Cyan0.0%
Magenta4.7%
Yellow90.1%
Key (black)0.8%
Color previews
#fdf119 text on a black background
contrast 17.77:1
Card sample
#fdf119 text on a white background
contrast 1.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf119;
Background color
Panel with #fdf119 background
background-color: #fdf119;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf119;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 241, 25, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 241, 25, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf119; background: linear-gradient(135deg, #fdf119, #71FD19);