Skip to content

#fcfcf2

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

RGB
252, 252, 242
HSL
60°, 63%, 97%
CMYK
0, 0, 4, 1
Luminance
0.9673

Every format

HEX#fcfcf2
RGBrgb(252, 252, 242)
HSLhsl(60, 63%, 97%)
CMYKcmyk(0%, 0%, 4%, 1%)
LABlab(98.7 -1.7 4.8)
LCHlch(98.7 5.1 109.8)
OKLCHoklch(0.988 0.013 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcfcf2 on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#fcfcf2 on black: 20.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#fcfcf2 text on a black background

contrast 20.35:1

Card sample

#fcfcf2 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfcf2 in the Color Lab