Skip to content

#fcf2d7

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

RGB
252, 242, 215
HSL
44°, 86%, 92%
CMYK
0, 4, 15, 1
Luminance
0.8911

Every format

HEX#fcf2d7
RGBrgb(252, 242, 215)
HSLhsl(44, 86%, 92%)
CMYKcmyk(0%, 4%, 15%, 1%)
LABlab(95.6 -1.0 14.2)
LCHlch(95.6 14.3 94.1)
OKLCHoklch(0.962 0.037 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf2d7 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2d7 on black: 18.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue84.3%

CMYK percentages

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

Color previews

#fcf2d7 text on a black background

contrast 18.82:1

Card sample

#fcf2d7 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2d7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2d7 in the Color Lab