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