Skip to content

#fcf5d9

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

RGB
252, 245, 217
HSL
48°, 85%, 92%
CMYK
0, 3, 14, 1
Luminance
0.9101

Every format

HEX#fcf5d9
RGBrgb(252, 245, 217)
HSLhsl(48, 85%, 92%)
CMYKcmyk(0%, 3%, 14%, 1%)
LABlab(96.4 -2.2 14.3)
LCHlch(96.4 14.5 98.8)
OKLCHoklch(0.968 0.037 95.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf5d9 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fcf5d9 on black: 19.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green96.1%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow13.9%
Key (black)1.2%

Color previews

#fcf5d9 text on a black background

contrast 19.20:1

Card sample

#fcf5d9 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf5d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf5d9 in the Color Lab