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