Skip to content

#fcf2cb

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

RGB
252, 242, 203
HSL
48°, 89%, 89%
CMYK
0, 4, 19, 1
Luminance
0.8851

Every format

HEX#fcf2cb
RGBrgb(252, 242, 203)
HSLhsl(48, 89%, 89%)
CMYKcmyk(0%, 4%, 19%, 1%)
LABlab(95.4 -2.8 20.1)
LCHlch(95.4 20.3 97.9)
OKLCHoklch(0.959 0.052 95.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf2cb on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2cb on black: 18.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue79.6%

CMYK percentages

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

Color previews

#fcf2cb text on a black background

contrast 18.70:1

Card sample

#fcf2cb text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2cb in the Color Lab