Skip to content

#fcf0c2

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

RGB
252, 240, 194
HSL
48°, 91%, 88%
CMYK
0, 5, 23, 1
Luminance
0.8691

Every format

HEX#fcf0c2
RGBrgb(252, 240, 194)
HSLhsl(48, 91%, 88%)
CMYKcmyk(0%, 5%, 23%, 1%)
LABlab(94.7 -3.0 23.7)
LCHlch(94.7 23.9 97.3)
OKLCHoklch(0.953 0.061 95.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf0c2 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fcf0c2 on black: 18.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#fcf0c2 text on a black background

contrast 18.38:1

Card sample

#fcf0c2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf0c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf0c2 in the Color Lab