#fdf543
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 245, 67
HSL
57°, 98%, 63%
CMYK
0, 3, 74, 1
Luminance
0.8659
Every format
| HEX | #fdf543 |
| RGB | rgb(253, 245, 67) |
| HSL | hsl(57, 98%, 63%) |
| CMYK | cmyk(0%, 3%, 74%, 1%) |
| LAB | lab(94.6 -16.2 80.6) |
| LCH | lch(94.6 82.3 101.4) |
| OKLCH | oklch(0.948 0.185 106.8) |
Copy-ready code
/* CSS */
color: #fdf543;
background-color: #fdf543;
/* Tailwind (arbitrary) */
class="text-[#fdf543] bg-[#fdf543]"
/* SCSS */
$brand: #fdf543;
/* SwiftUI */
Color(red: 0.992, green: 0.961, blue: 0.263)
/* Android */
Color.parseColor("#fdf543")Accessibility — WCAG contrast
Aa
#fdf543 on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf543 on black: 18.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green96.1%
Blue26.3%
CMYK percentages
Cyan0.0%
Magenta3.2%
Yellow73.5%
Key (black)0.8%
Color previews
#fdf543 text on a black background
contrast 18.32:1
Card sample
#fdf543 text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf543;
Background color
Panel with #fdf543 background
background-color: #fdf543;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf543;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 245, 67, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 245, 67, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf543; background: linear-gradient(135deg, #fdf543, #89FD43);