#fdf320
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 243, 32
HSL
57°, 98%, 56%
CMYK
0, 4, 87, 1
Luminance
0.8509
Every format
| HEX | #fdf320 |
| RGB | rgb(253, 243, 32) |
| HSL | hsl(57, 98%, 56%) |
| CMYK | cmyk(0%, 4%, 87%, 1%) |
| LAB | lab(93.9 -16.3 88.7) |
| LCH | lch(93.9 90.2 100.4) |
| OKLCH | oklch(0.942 0.197 106.5) |
Copy-ready code
/* CSS */
color: #fdf320;
background-color: #fdf320;
/* Tailwind (arbitrary) */
class="text-[#fdf320] bg-[#fdf320]"
/* SCSS */
$brand: #fdf320;
/* SwiftUI */
Color(red: 0.992, green: 0.953, blue: 0.125)
/* Android */
Color.parseColor("#fdf320")Accessibility — WCAG contrast
Aa
#fdf320 on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf320 on black: 18.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green95.3%
Blue12.5%
CMYK percentages
Cyan0.0%
Magenta4.0%
Yellow87.4%
Key (black)0.8%
Color previews
#fdf320 text on a black background
contrast 18.02:1
Card sample
#fdf320 text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf320;
Background color
Panel with #fdf320 background
background-color: #fdf320;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf320;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 243, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 243, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf320; background: linear-gradient(135deg, #fdf320, #74FD20);