Skip to content

#fcf2db

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

RGB
252, 242, 219
HSL
42°, 85%, 92%
CMYK
0, 4, 13, 1
Luminance
0.8931

Every format

HEX#fcf2db
RGBrgb(252, 242, 219)
HSLhsl(42, 85%, 92%)
CMYKcmyk(0%, 4%, 13%, 1%)
LABlab(95.7 -0.4 12.3)
LCHlch(95.7 12.3 91.9)
OKLCHoklch(0.963 0.032 87.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf2db on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2db on black: 18.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow13.1%
Key (black)1.2%

Color previews

#fcf2db text on a black background

contrast 18.86:1

Card sample

#fcf2db text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2db in the Color Lab