#fdfc21
a balanced, electric yellow · cool · closest name: yellow
RGB
253, 252, 33
HSL
60°, 98%, 56%
CMYK
0, 0, 87, 1
Luminance
0.9061
Every format
| HEX | #fdfc21 |
| RGB | rgb(253, 252, 33) |
| HSL | hsl(60, 98%, 56%) |
| CMYK | cmyk(0%, 0%, 87%, 1%) |
| LAB | lab(96.3 -20.6 90.4) |
| LCH | lch(96.3 92.7 102.8) |
| OKLCH | oklch(0.961 0.204 109.4) |
Copy-ready code
/* CSS */
color: #fdfc21;
background-color: #fdfc21;
/* Tailwind (arbitrary) */
class="text-[#fdfc21] bg-[#fdfc21]"
/* SCSS */
$brand: #fdfc21;
/* SwiftUI */
Color(red: 0.992, green: 0.988, blue: 0.129)
/* Android */
Color.parseColor("#fdfc21")Accessibility — WCAG contrast
Aa
#fdfc21 on white: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdfc21 on black: 19.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green98.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta0.4%
Yellow87.0%
Key (black)0.8%
Color previews
#fdfc21 text on a black background
contrast 19.12:1
Card sample
#fdfc21 text on a white background
contrast 1.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdfc21;
Background color
Panel with #fdfc21 background
background-color: #fdfc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdfc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdfc21; background: linear-gradient(135deg, #fdfc21, #6CFD21);