Skip to content

#fcf6dc

a pale, electric yellow · cool · “beige”

RGB
252, 246, 220
HSL
49°, 84%, 93%
CMYK
0, 2, 13, 1
Luminance
0.9177

Every format

HEX#fcf6dc
RGBrgb(252, 246, 220)
HSLhsl(49, 84%, 93%)
CMYKcmyk(0%, 2%, 13%, 1%)
LABlab(96.7 -2.3 13.2)
LCHlch(96.7 13.4 99.7)
OKLCHoklch(0.971 0.035 96.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf6dc on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fcf6dc on black: 19.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green96.5%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow12.7%
Key (black)1.2%

Color previews

#fcf6dc text on a black background

contrast 19.35:1

Card sample

#fcf6dc text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf6dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf6dc in the Color Lab