#fcff3b
a balanced, electric yellow · cool · closest name: yellow
RGB
252, 255, 59
HSL
61°, 100%, 62%
CMYK
1, 0, 77, 0
Luminance
0.9253
Every format
| HEX | #fcff3b |
| RGB | rgb(252, 255, 59) |
| HSL | hsl(61, 100%, 62%) |
| CMYK | cmyk(1%, 0%, 77%, 0%) |
| LAB | lab(97.0 -21.7 85.2) |
| LCH | lch(97.0 87.9 104.3) |
| OKLCH | oklch(0.967 0.198 110.5) |
Copy-ready code
/* CSS */
color: #fcff3b;
background-color: #fcff3b;
/* Tailwind (arbitrary) */
class="text-[#fcff3b] bg-[#fcff3b]"
/* SCSS */
$brand: #fcff3b;
/* SwiftUI */
Color(red: 0.988, green: 1.000, blue: 0.231)
/* Android */
Color.parseColor("#fcff3b")Accessibility — WCAG contrast
Aa
#fcff3b on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcff3b on black: 19.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green100.0%
Blue23.1%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow76.9%
Key (black)0.0%
Color previews
#fcff3b text on a black background
contrast 19.51:1
Card sample
#fcff3b text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcff3b;
Background color
Panel with #fcff3b background
background-color: #fcff3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcff3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 255, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 255, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcff3b; background: linear-gradient(135deg, #fcff3b, #7AFF3B);