#fffcdf
a pale, electric yellow · cool · closest name: beige
RGB
255, 252, 223
HSL
54°, 100%, 94%
CMYK
0, 1, 13, 0
Luminance
0.9621
Every format
| HEX | #fffcdf |
| RGB | rgb(255, 252, 223) |
| HSL | hsl(54, 100%, 94%) |
| CMYK | cmyk(0%, 1%, 13%, 0%) |
| LAB | lab(98.5 -3.8 14.3) |
| LCH | lch(98.5 14.8 104.8) |
| OKLCH | oklch(0.986 0.038 102.2) |
Copy-ready code
/* CSS */
color: #fffcdf;
background-color: #fffcdf;
/* Tailwind (arbitrary) */
class="text-[#fffcdf] bg-[#fffcdf]"
/* SCSS */
$brand: #fffcdf;
/* SwiftUI */
Color(red: 1.000, green: 0.988, blue: 0.875)
/* Android */
Color.parseColor("#fffcdf")Accessibility — WCAG contrast
Aa
#fffcdf on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fffcdf on black: 20.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green98.8%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta1.2%
Yellow12.5%
Key (black)0.0%
Color previews
#fffcdf text on a black background
contrast 20.24:1
Card sample
#fffcdf text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fffcdf;
Background color
Panel with #fffcdf background
background-color: #fffcdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fffcdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 252, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 252, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffcdf; background: linear-gradient(135deg, #fffcdf, #EDFFDF);