#fcf7bf
a pale, electric yellow · cool · closest name: beige
RGB
252, 247, 191
HSL
55°, 91%, 87%
CMYK
0, 2, 24, 1
Luminance
0.9098
Every format
| HEX | #fcf7bf |
| RGB | rgb(252, 247, 191) |
| HSL | hsl(55, 91%, 87%) |
| CMYK | cmyk(0%, 2%, 24%, 1%) |
| LAB | lab(96.4 -6.9 27.6) |
| LCH | lch(96.4 28.5 104.1) |
| OKLCH | oklch(0.967 0.072 103.4) |
Copy-ready code
/* CSS */
color: #fcf7bf;
background-color: #fcf7bf;
/* Tailwind (arbitrary) */
class="text-[#fcf7bf] bg-[#fcf7bf]"
/* SCSS */
$brand: #fcf7bf;
/* SwiftUI */
Color(red: 0.988, green: 0.969, blue: 0.749)
/* Android */
Color.parseColor("#fcf7bf")Accessibility — WCAG contrast
Aa
#fcf7bf on white: 1.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fcf7bf on black: 19.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green96.9%
Blue74.9%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow24.2%
Key (black)1.2%
Color previews
#fcf7bf text on a black background
contrast 19.20:1
Card sample
#fcf7bf text on a white background
contrast 1.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fcf7bf;
Background color
Panel with #fcf7bf background
background-color: #fcf7bf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fcf7bf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 247, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 247, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcf7bf; background: linear-gradient(135deg, #fcf7bf, #D8FCBF);