#fdfa21
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 250, 33
HSL
59°, 98%, 56%
CMYK
0, 1, 87, 1
Luminance
0.8936
Every format
| HEX | #fdfa21 |
| RGB | rgb(253, 250, 33) |
| HSL | hsl(59, 98%, 56%) |
| CMYK | cmyk(0%, 1%, 87%, 1%) |
| LAB | lab(95.7 -19.6 90.0) |
| LCH | lch(95.7 92.1 102.3) |
| OKLCH | oklch(0.957 0.202 108.8) |
Copy-ready code
/* CSS */
color: #fdfa21;
background-color: #fdfa21;
/* Tailwind (arbitrary) */
class="text-[#fdfa21] bg-[#fdfa21]"
/* SCSS */
$brand: #fdfa21;
/* SwiftUI */
Color(red: 0.992, green: 0.980, blue: 0.129)
/* Android */
Color.parseColor("#fdfa21")Accessibility — WCAG contrast
Aa
#fdfa21 on white: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdfa21 on black: 18.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green98.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta1.2%
Yellow87.0%
Key (black)0.8%
Color previews
#fdfa21 text on a black background
contrast 18.87:1
Card sample
#fdfa21 text on a white background
contrast 1.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdfa21;
Background color
Panel with #fdfa21 background
background-color: #fdfa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdfa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 250, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 250, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdfa21; background: linear-gradient(135deg, #fdfa21, #6DFD21);