#fdf153
a light, electric yellow · cool · closest name: gold
RGB
253, 241, 83
HSL
56°, 98%, 66%
CMYK
0, 5, 67, 1
Luminance
0.8442
Every format
| HEX | #fdf153 |
| RGB | rgb(253, 241, 83) |
| HSL | hsl(56, 98%, 66%) |
| CMYK | cmyk(0%, 5%, 67%, 1%) |
| LAB | lab(93.6 -13.6 74.2) |
| LCH | lch(93.6 75.4 100.4) |
| OKLCH | oklch(0.941 0.172 105.0) |
Copy-ready code
/* CSS */
color: #fdf153;
background-color: #fdf153;
/* Tailwind (arbitrary) */
class="text-[#fdf153] bg-[#fdf153]"
/* SCSS */
$brand: #fdf153;
/* SwiftUI */
Color(red: 0.992, green: 0.945, blue: 0.325)
/* Android */
Color.parseColor("#fdf153")Accessibility — WCAG contrast
Aa
#fdf153 on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf153 on black: 17.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green94.5%
Blue32.5%
CMYK percentages
Cyan0.0%
Magenta4.7%
Yellow67.2%
Key (black)0.8%
Color previews
#fdf153 text on a black background
contrast 17.88:1
Card sample
#fdf153 text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf153;
Background color
Panel with #fdf153 background
background-color: #fdf153;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf153;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 241, 83, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 241, 83, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf153; background: linear-gradient(135deg, #fdf153, #98FD53);