Skip to content

#fcfaf0

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

RGB
252, 250, 240
HSL
50°, 67%, 97%
CMYK
0, 1, 5, 1
Luminance
0.9536

Every format

HEX#fcfaf0
RGBrgb(252, 250, 240)
HSLhsl(50, 67%, 97%)
CMYKcmyk(0%, 1%, 5%, 1%)
LABlab(98.2 -1.1 5.0)
LCHlch(98.2 5.1 101.8)
OKLCHoklch(0.984 0.013 97.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green98.0%
Blue94.1%

CMYK percentages

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

Color previews

#fcfaf0 text on a black background

contrast 20.07:1

Card sample

#fcfaf0 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfaf0 in the Color Lab