Skip to content

#fcfaf2

a pale, vivid yellow · cool · closest name: ivory

RGB
252, 250, 242
HSL
48°, 63%, 97%
CMYK
0, 1, 4, 1
Luminance
0.9548

Every format

HEX#fcfaf2
RGBrgb(252, 250, 242)
HSLhsl(48, 63%, 97%)
CMYKcmyk(0%, 1%, 4%, 1%)
LABlab(98.2 -0.7 4.1)
LCHlch(98.2 4.1 99.9)
OKLCHoklch(0.984 0.011 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green98.0%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow4.0%
Key (black)1.2%

Color previews

#fcfaf2 text on a black background

contrast 20.10:1

Card sample

#fcfaf2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfaf2 in the Color Lab