#fcf95f
a light, electric yellow · cool · closest name: yellow
RGB
252, 249, 95
HSL
59°, 96%, 68%
CMYK
0, 1, 62, 1
Luminance
0.8927
Every format
| HEX | #fcf95f |
| RGB | rgb(252, 249, 95) |
| HSL | hsl(59, 96%, 68%) |
| CMYK | cmyk(0%, 1%, 62%, 1%) |
| LAB | lab(95.7 -17.2 71.7) |
| LCH | lch(95.7 73.7 103.5) |
| OKLCH | oklch(0.957 0.171 108.2) |
Copy-ready code
/* CSS */
color: #fcf95f;
background-color: #fcf95f;
/* Tailwind (arbitrary) */
class="text-[#fcf95f] bg-[#fcf95f]"
/* SCSS */
$brand: #fcf95f;
/* SwiftUI */
Color(red: 0.988, green: 0.976, blue: 0.373)
/* Android */
Color.parseColor("#fcf95f")Accessibility — WCAG contrast
Aa
#fcf95f on white: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcf95f on black: 18.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green97.6%
Blue37.3%
CMYK percentages
Cyan0.0%
Magenta1.2%
Yellow62.3%
Key (black)1.2%
Color previews
#fcf95f text on a black background
contrast 18.85:1
Card sample
#fcf95f text on a white background
contrast 1.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcf95f;
Background color
Panel with #fcf95f background
background-color: #fcf95f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcf95f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 249, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 249, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcf95f; background: linear-gradient(135deg, #fcf95f, #96FC5F);