#fdf500
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 245, 0
HSL
58°, 100%, 50%
CMYK
0, 3, 100, 1
Luminance
0.8619
Every format
| HEX | #fdf500 |
| RGB | rgb(253, 245, 0) |
| HSL | hsl(58, 100%, 50%) |
| CMYK | cmyk(0%, 3%, 100%, 1%) |
| LAB | lab(94.4 -17.6 92.4) |
| LCH | lch(94.4 94.1 100.8) |
| OKLCH | oklch(0.946 0.203 107.3) |
Copy-ready code
/* CSS */
color: #fdf500;
background-color: #fdf500;
/* Tailwind (arbitrary) */
class="text-[#fdf500] bg-[#fdf500]"
/* SCSS */
$brand: #fdf500;
/* SwiftUI */
Color(red: 0.992, green: 0.961, blue: 0.000)
/* Android */
Color.parseColor("#fdf500")Accessibility — WCAG contrast
Aa
#fdf500 on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf500 on black: 18.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green96.1%
Blue0.0%
CMYK percentages
Cyan0.0%
Magenta3.2%
Yellow100.0%
Key (black)0.8%
Color previews
#fdf500 text on a black background
contrast 18.24:1
Card sample
#fdf500 text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf500;
Background color
Panel with #fdf500 background
background-color: #fdf500;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf500;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 245, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 245, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf500; background: linear-gradient(135deg, #fdf500, #5CFD00);