#fcdf08
a balanced, electric yellow · cool · closest name: gold
RGB
252, 223, 8
HSL
53°, 98%, 51%
CMYK
0, 12, 97, 1
Luminance
0.7349
Every format
| HEX | #fcdf08 |
| RGB | rgb(252, 223, 8) |
| HSL | hsl(53, 98%, 51%) |
| CMYK | cmyk(0%, 12%, 97%, 1%) |
| LAB | lab(88.7 -7.2 87.6) |
| LCH | lch(88.7 87.9 94.7) |
| OKLCH | oklch(0.900 0.186 99.7) |
Copy-ready code
/* CSS */
color: #fcdf08;
background-color: #fcdf08;
/* Tailwind (arbitrary) */
class="text-[#fcdf08] bg-[#fcdf08]"
/* SCSS */
$brand: #fcdf08;
/* SwiftUI */
Color(red: 0.988, green: 0.875, blue: 0.031)
/* Android */
Color.parseColor("#fcdf08")Accessibility — WCAG contrast
Aa
#fcdf08 on white: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcdf08 on black: 15.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green87.5%
Blue3.1%
CMYK percentages
Cyan0.0%
Magenta11.5%
Yellow96.8%
Key (black)1.2%
Color previews
#fcdf08 text on a black background
contrast 15.70:1
Card sample
#fcdf08 text on a white background
contrast 1.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcdf08;
Background color
Panel with #fcdf08 background
background-color: #fcdf08;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcdf08;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 223, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 223, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcdf08; background: linear-gradient(135deg, #fcdf08, #76FC08);