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