#fcf032
a balanced, electric yellow · cool · closest name: yellow
RGB
252, 240, 50
HSL
56°, 97%, 59%
CMYK
0, 5, 80, 1
Luminance
0.8325
Every format
| HEX | #fcf032 |
| RGB | rgb(252, 240, 50) |
| HSL | hsl(56, 97%, 59%) |
| CMYK | cmyk(0%, 5%, 80%, 1%) |
| LAB | lab(93.1 -14.8 84.2) |
| LCH | lch(93.1 85.5 100.0) |
| OKLCH | oklch(0.936 0.189 105.6) |
Copy-ready code
/* CSS */
color: #fcf032;
background-color: #fcf032;
/* Tailwind (arbitrary) */
class="text-[#fcf032] bg-[#fcf032]"
/* SCSS */
$brand: #fcf032;
/* SwiftUI */
Color(red: 0.988, green: 0.941, blue: 0.196)
/* Android */
Color.parseColor("#fcf032")Accessibility — WCAG contrast
Aa
#fcf032 on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcf032 on black: 17.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green94.1%
Blue19.6%
CMYK percentages
Cyan0.0%
Magenta4.8%
Yellow80.2%
Key (black)1.2%
Color previews
#fcf032 text on a black background
contrast 17.65:1
Card sample
#fcf032 text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcf032;
Background color
Panel with #fcf032 background
background-color: #fcf032;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcf032;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 240, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 240, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcf032; background: linear-gradient(135deg, #fcf032, #81FC32);