#fdf480
a light, electric yellow · cool · closest name: khaki
RGB
253, 244, 128
HSL
56°, 97%, 75%
CMYK
0, 4, 49, 1
Luminance
0.8714
Every format
| HEX | #fdf480 |
| RGB | rgb(253, 244, 128) |
| HSL | hsl(56, 97%, 75%) |
| CMYK | cmyk(0%, 4%, 49%, 1%) |
| LAB | lab(94.8 -12.0 56.4) |
| LCH | lch(94.8 57.7 102.0) |
| OKLCH | oklch(0.951 0.138 104.7) |
Copy-ready code
/* CSS */
color: #fdf480;
background-color: #fdf480;
/* Tailwind (arbitrary) */
class="text-[#fdf480] bg-[#fdf480]"
/* SCSS */
$brand: #fdf480;
/* SwiftUI */
Color(red: 0.992, green: 0.957, blue: 0.502)
/* Android */
Color.parseColor("#fdf480")Accessibility — WCAG contrast
Aa
#fdf480 on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf480 on black: 18.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green95.7%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta3.6%
Yellow49.4%
Key (black)0.8%
Color previews
#fdf480 text on a black background
contrast 18.43:1
Card sample
#fdf480 text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf480;
Background color
Panel with #fdf480 background
background-color: #fdf480;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf480;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 244, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 244, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf480; background: linear-gradient(135deg, #fdf480, #B3FD80);