#fcdf49
a balanced, electric yellow · cool · closest name: gold
RGB
252, 223, 73
HSL
50°, 97%, 64%
CMYK
0, 12, 71, 1
Luminance
0.7395
Every format
| HEX | #fcdf49 |
| RGB | rgb(252, 223, 73) |
| HSL | hsl(50, 97%, 64%) |
| CMYK | cmyk(0%, 12%, 71%, 1%) |
| LAB | lab(88.9 -5.5 73.2) |
| LCH | lch(88.9 73.4 94.3) |
| OKLCH | oklch(0.902 0.164 97.9) |
Copy-ready code
/* CSS */
color: #fcdf49;
background-color: #fcdf49;
/* Tailwind (arbitrary) */
class="text-[#fcdf49] bg-[#fcdf49]"
/* SCSS */
$brand: #fcdf49;
/* SwiftUI */
Color(red: 0.988, green: 0.875, blue: 0.286)
/* Android */
Color.parseColor("#fcdf49")Accessibility — WCAG contrast
Aa
#fcdf49 on white: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcdf49 on black: 15.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green87.5%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta11.5%
Yellow71.0%
Key (black)1.2%
Color previews
#fcdf49 text on a black background
contrast 15.79:1
Card sample
#fcdf49 text on a white background
contrast 1.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcdf49;
Background color
Panel with #fcdf49 background
background-color: #fcdf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcdf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 223, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 223, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcdf49; background: linear-gradient(135deg, #fcdf49, #A2FC49);