#fcff21
a balanced, electric yellow · cool · closest name: yellow
RGB
252, 255, 33
HSL
61°, 100%, 57%
CMYK
1, 0, 87, 0
Luminance
0.9233
Every format
| HEX | #fcff21 |
| RGB | rgb(252, 255, 33) |
| HSL | hsl(61, 100%, 57%) |
| CMYK | cmyk(1%, 0%, 87%, 0%) |
| LAB | lab(97.0 -22.4 90.9) |
| LCH | lch(97.0 93.6 103.9) |
| OKLCH | oklch(0.966 0.207 110.6) |
Copy-ready code
/* CSS */
color: #fcff21;
background-color: #fcff21;
/* Tailwind (arbitrary) */
class="text-[#fcff21] bg-[#fcff21]"
/* SCSS */
$brand: #fcff21;
/* SwiftUI */
Color(red: 0.988, green: 1.000, blue: 0.129)
/* Android */
Color.parseColor("#fcff21")Accessibility — WCAG contrast
Aa
#fcff21 on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcff21 on black: 19.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green100.0%
Blue12.9%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow87.1%
Key (black)0.0%
Color previews
#fcff21 text on a black background
contrast 19.47:1
Card sample
#fcff21 text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcff21;
Background color
Panel with #fcff21 background
background-color: #fcff21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcff21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 255, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 255, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcff21; background: linear-gradient(135deg, #fcff21, #68FF21);