Skip to content

#fcf2c2

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

RGB
252, 242, 194
HSL
50°, 91%, 88%
CMYK
0, 4, 23, 1
Luminance
0.8809

Every format

HEX#fcf2c2
RGBrgb(252, 242, 194)
HSLhsl(50, 91%, 88%)
CMYKcmyk(0%, 4%, 23%, 1%)
LABlab(95.2 -4.0 24.4)
LCHlch(95.2 24.8 99.4)
OKLCHoklch(0.957 0.063 97.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf2c2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2c2 on black: 18.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow23.0%
Key (black)1.2%

Color previews

#fcf2c2 text on a black background

contrast 18.62:1

Card sample

#fcf2c2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2c2 in the Color Lab