Skip to content

#fcf9f2

a pale, vivid yellow · warm · closest name: white

RGB
252, 249, 242
HSL
42°, 63%, 97%
CMYK
0, 1, 4, 1
Luminance
0.9486

Every format

HEX#fcf9f2
RGBrgb(252, 249, 242)
HSLhsl(42, 63%, 97%)
CMYKcmyk(0%, 1%, 4%, 1%)
LABlab(98.0 -0.2 3.7)
LCHlch(98.0 3.7 93.2)
OKLCHoklch(0.983 0.010 87.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf9f2 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fcf9f2 on black: 19.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green97.6%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow4.0%
Key (black)1.2%

Color previews

#fcf9f2 text on a black background

contrast 19.97:1

Card sample

#fcf9f2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf9f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf9f2 in the Color Lab