Skip to content

#fcf9d6

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

RGB
252, 249, 214
HSL
55°, 86%, 91%
CMYK
0, 1, 15, 1
Luminance
0.9330

Every format

HEX#fcf9d6
RGBrgb(252, 249, 214)
HSLhsl(55, 86%, 91%)
CMYKcmyk(0%, 1%, 15%, 1%)
LABlab(97.3 -4.7 17.2)
LCHlch(97.3 17.8 105.2)
OKLCHoklch(0.976 0.046 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf9d6 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fcf9d6 on black: 19.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green97.6%
Blue83.9%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow15.1%
Key (black)1.2%

Color previews

#fcf9d6 text on a black background

contrast 19.66:1

Card sample

#fcf9d6 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf9d6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf9d6 in the Color Lab