#fdf016
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 240, 22
HSL
57°, 98%, 54%
CMYK
0, 5, 91, 1
Luminance
0.8326
Every format
| HEX | #fdf016 |
| RGB | rgb(253, 240, 22) |
| HSL | hsl(57, 98%, 54%) |
| CMYK | cmyk(0%, 5%, 91%, 1%) |
| LAB | lab(93.1 -15.0 89.5) |
| LCH | lch(93.1 90.8 99.5) |
| OKLCH | oklch(0.936 0.196 105.6) |
Copy-ready code
/* CSS */
color: #fdf016;
background-color: #fdf016;
/* Tailwind (arbitrary) */
class="text-[#fdf016] bg-[#fdf016]"
/* SCSS */
$brand: #fdf016;
/* SwiftUI */
Color(red: 0.992, green: 0.941, blue: 0.086)
/* Android */
Color.parseColor("#fdf016")Accessibility — WCAG contrast
Aa
#fdf016 on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf016 on black: 17.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green94.1%
Blue8.6%
CMYK percentages
Cyan0.0%
Magenta5.1%
Yellow91.3%
Key (black)0.8%
Color previews
#fdf016 text on a black background
contrast 17.65:1
Card sample
#fdf016 text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf016;
Background color
Panel with #fdf016 background
background-color: #fdf016;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf016;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 240, 22, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 240, 22, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf016; background: linear-gradient(135deg, #fdf016, #70FD16);