#fdf950
a light, electric yellow · cool · closest name: yellow
RGB
253, 249, 80
HSL
59°, 98%, 65%
CMYK
0, 2, 68, 1
Luminance
0.8921
Every format
| HEX | #fdf950 |
| RGB | rgb(253, 249, 80) |
| HSL | hsl(59, 98%, 65%) |
| CMYK | cmyk(0%, 2%, 68%, 1%) |
| LAB | lab(95.7 -17.6 77.3) |
| LCH | lch(95.7 79.3 102.8) |
| OKLCH | oklch(0.957 0.181 108.0) |
Copy-ready code
/* CSS */
color: #fdf950;
background-color: #fdf950;
/* Tailwind (arbitrary) */
class="text-[#fdf950] bg-[#fdf950]"
/* SCSS */
$brand: #fdf950;
/* SwiftUI */
Color(red: 0.992, green: 0.976, blue: 0.314)
/* Android */
Color.parseColor("#fdf950")Accessibility — WCAG contrast
Aa
#fdf950 on white: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf950 on black: 18.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green97.6%
Blue31.4%
CMYK percentages
Cyan0.0%
Magenta1.6%
Yellow68.4%
Key (black)0.8%
Color previews
#fdf950 text on a black background
contrast 18.84:1
Card sample
#fdf950 text on a white background
contrast 1.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf950;
Background color
Panel with #fdf950 background
background-color: #fdf950;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf950;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 249, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 249, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf950; background: linear-gradient(135deg, #fdf950, #8EFD50);