Skip to content

#fcf2c4

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

RGB
252, 242, 196
HSL
49°, 90%, 88%
CMYK
0, 4, 22, 1
Luminance
0.8819

Every format

HEX#fcf2c4
RGBrgb(252, 242, 196)
HSLhsl(49, 90%, 88%)
CMYKcmyk(0%, 4%, 22%, 1%)
LABlab(95.2 -3.8 23.5)
LCHlch(95.2 23.8 99.1)
OKLCHoklch(0.958 0.060 97.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow22.2%
Key (black)1.2%

Color previews

#fcf2c4 text on a black background

contrast 18.64:1

Card sample

#fcf2c4 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2c4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2c4 in the Color Lab