#fffcd2
a pale, electric yellow · cool · closest name: beige
RGB
255, 252, 210
HSL
56°, 100%, 91%
CMYK
0, 1, 18, 0
Luminance
0.9553
Every format
| HEX | #fffcd2 |
| RGB | rgb(255, 252, 210) |
| HSL | hsl(56, 100%, 91%) |
| CMYK | cmyk(0%, 1%, 18%, 0%) |
| LAB | lab(98.3 -5.7 20.5) |
| LCH | lch(98.3 21.3 105.6) |
| OKLCH | oklch(0.983 0.054 104.0) |
Copy-ready code
/* CSS */
color: #fffcd2;
background-color: #fffcd2;
/* Tailwind (arbitrary) */
class="text-[#fffcd2] bg-[#fffcd2]"
/* SCSS */
$brand: #fffcd2;
/* SwiftUI */
Color(red: 1.000, green: 0.988, blue: 0.824)
/* Android */
Color.parseColor("#fffcd2")Accessibility — WCAG contrast
Aa
#fffcd2 on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fffcd2 on black: 20.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green98.8%
Blue82.4%
CMYK percentages
Cyan0.0%
Magenta1.2%
Yellow17.6%
Key (black)0.0%
Color previews
#fffcd2 text on a black background
contrast 20.11:1
Card sample
#fffcd2 text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fffcd2;
Background color
Panel with #fffcd2 background
background-color: #fffcd2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fffcd2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 252, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 252, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffcd2; background: linear-gradient(135deg, #fffcd2, #E4FFD2);