#fcffb4
a pale, electric yellow · cool · closest name: khaki
RGB
252, 255, 180
HSL
62°, 100%, 85%
CMYK
1, 0, 29, 0
Luminance
0.9551
Every format
| HEX | #fcffb4 |
| RGB | rgb(252, 255, 180) |
| HSL | hsl(62, 100%, 85%) |
| CMYK | cmyk(1%, 0%, 29%, 0%) |
| LAB | lab(98.2 -12.3 35.6) |
| LCH | lch(98.2 37.7 109.1) |
| OKLCH | oklch(0.981 0.095 109.9) |
Copy-ready code
/* CSS */
color: #fcffb4;
background-color: #fcffb4;
/* Tailwind (arbitrary) */
class="text-[#fcffb4] bg-[#fcffb4]"
/* SCSS */
$brand: #fcffb4;
/* SwiftUI */
Color(red: 0.988, green: 1.000, blue: 0.706)
/* Android */
Color.parseColor("#fcffb4")Accessibility — WCAG contrast
Aa
#fcffb4 on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcffb4 on black: 20.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green100.0%
Blue70.6%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow29.4%
Key (black)0.0%
Color previews
#fcffb4 text on a black background
contrast 20.10:1
Card sample
#fcffb4 text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcffb4;
Background color
Panel with #fcffb4 background
background-color: #fcffb4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcffb4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 255, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 255, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcffb4; background: linear-gradient(135deg, #fcffb4, #CAFFB4);