Skip to content

#fcf2dc

a pale, electric yellow · warm · closest name: beige

RGB
252, 242, 220
HSL
41°, 84%, 93%
CMYK
0, 4, 13, 1
Luminance
0.8937

Every format

HEX#fcf2dc
RGBrgb(252, 242, 220)
HSLhsl(41, 84%, 93%)
CMYKcmyk(0%, 4%, 13%, 1%)
LABlab(95.7 -0.2 11.8)
LCHlch(95.7 11.8 91.2)
OKLCHoklch(0.963 0.031 86.5)

Copy-ready code

/* CSS */
color: #fcf2dc;
background-color: #fcf2dc;
/* Tailwind (arbitrary) */
class="text-[#fcf2dc] bg-[#fcf2dc]"
/* SCSS */
$brand: #fcf2dc;
/* SwiftUI */
Color(red: 0.988, green: 0.949, blue: 0.863)
/* Android */
Color.parseColor("#fcf2dc")

Accessibility — WCAG contrast

Aa
#fcf2dc on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2dc on black: 18.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow12.7%
Key (black)1.2%

Color previews

#fcf2dc text on a black background

contrast 18.87:1

Card sample

#fcf2dc text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fcf2dc;
Background color
Panel with #fcf2dc background
background-color: #fcf2dc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fcf2dc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(252, 242, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 242, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcf2dc;
background: linear-gradient(135deg, #fcf2dc, #F1FCDC);

Monochromatic scale

Palettes built from #fcf2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2dc in the Color Lab