Skip to content

#fcf2cf

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

RGB
252, 242, 207
HSL
47°, 88%, 90%
CMYK
0, 4, 18, 1
Luminance
0.8870

Every format

HEX#fcf2cf
RGBrgb(252, 242, 207)
HSLhsl(47, 88%, 90%)
CMYKcmyk(0%, 4%, 18%, 1%)
LABlab(95.5 -2.2 18.1)
LCHlch(95.5 18.3 96.9)
OKLCHoklch(0.960 0.047 93.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green94.9%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow17.9%
Key (black)1.2%

Color previews

#fcf2cf text on a black background

contrast 18.74:1

Card sample

#fcf2cf text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2cf in the Color Lab