#fdf604
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 246, 4
HSL
58°, 98%, 50%
CMYK
0, 3, 98, 1
Luminance
0.8680
Every format
| HEX | #fdf604 |
| RGB | rgb(253, 246, 4) |
| HSL | hsl(58, 98%, 50%) |
| CMYK | cmyk(0%, 3%, 98%, 1%) |
| LAB | lab(94.7 -18.1 92.3) |
| LCH | lch(94.7 94.1 101.1) |
| OKLCH | oklch(0.948 0.203 107.6) |
Copy-ready code
/* CSS */
color: #fdf604;
background-color: #fdf604;
/* Tailwind (arbitrary) */
class="text-[#fdf604] bg-[#fdf604]"
/* SCSS */
$brand: #fdf604;
/* SwiftUI */
Color(red: 0.992, green: 0.965, blue: 0.016)
/* Android */
Color.parseColor("#fdf604")Accessibility — WCAG contrast
Aa
#fdf604 on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf604 on black: 18.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green96.5%
Blue1.6%
CMYK percentages
Cyan0.0%
Magenta2.8%
Yellow98.4%
Key (black)0.8%
Color previews
#fdf604 text on a black background
contrast 18.36:1
Card sample
#fdf604 text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf604;
Background color
Panel with #fdf604 background
background-color: #fdf604;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf604;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 246, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 246, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf604; background: linear-gradient(135deg, #fdf604, #5EFD04);