Skip to content

#fcf0cb

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

RGB
252, 240, 203
HSL
45°, 89%, 89%
CMYK
0, 5, 19, 1
Luminance
0.8733

Every format

HEX#fcf0cb
RGBrgb(252, 240, 203)
HSLhsl(45, 89%, 89%)
CMYKcmyk(0%, 5%, 19%, 1%)
LABlab(94.9 -1.8 19.4)
LCHlch(94.9 19.4 95.2)
OKLCHoklch(0.955 0.050 92.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green94.1%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta4.8%
Yellow19.4%
Key (black)1.2%

Color previews

#fcf0cb text on a black background

contrast 18.47:1

Card sample

#fcf0cb text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf0cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf0cb in the Color Lab