Skip to content

#fcf4cb

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

RGB
252, 244, 203
HSL
50°, 89%, 89%
CMYK
0, 3, 19, 1
Luminance
0.8971

Every format

HEX#fcf4cb
RGBrgb(252, 244, 203)
HSLhsl(50, 89%, 89%)
CMYKcmyk(0%, 3%, 19%, 1%)
LABlab(95.9 -3.8 20.8)
LCHlch(95.9 21.1 100.3)
OKLCHoklch(0.963 0.054 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf4cb on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fcf4cb on black: 18.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green95.7%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow19.4%
Key (black)1.2%

Color previews

#fcf4cb text on a black background

contrast 18.94:1

Card sample

#fcf4cb text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf4cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf4cb in the Color Lab