#fdfc02
a balanced, electric yellow · cool · “yellow”
RGB
253, 252, 2
HSL
60°, 98%, 50%
CMYK
0, 0, 99, 1
Luminance
0.9051
Every format
| HEX | #fdfc02 |
| RGB | rgb(253, 252, 2) |
| HSL | hsl(60, 98%, 50%) |
| CMYK | cmyk(0%, 0%, 99%, 1%) |
| LAB | lab(96.2 -20.9 93.6) |
| LCH | lch(96.2 95.9 102.6) |
| OKLCH | oklch(0.960 0.209 109.5) |
Copy-ready code
/* CSS */
color: #fdfc02;
background-color: #fdfc02;
/* Tailwind (arbitrary) */
class="text-[#fdfc02] bg-[#fdfc02]"
/* SCSS */
$brand: #fdfc02;
/* SwiftUI */
Color(red: 0.992, green: 0.988, blue: 0.008)
/* Android */
Color.parseColor("#fdfc02")Accessibility — WCAG contrast
Aa
#fdfc02 on white: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdfc02 on black: 19.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green98.8%
Blue0.8%
CMYK percentages
Cyan0.0%
Magenta0.4%
Yellow99.2%
Key (black)0.8%
Color previews
#fdfc02 text on a black background
contrast 19.10:1
Card sample
#fdfc02 text on a white background
contrast 1.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdfc02;
Background color
Panel with #fdfc02 background
background-color: #fdfc02;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdfc02;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 252, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 252, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdfc02; background: linear-gradient(135deg, #fdfc02, #57FD02);