Skip to content

#fcf9cb

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

RGB
252, 249, 203
HSL
56°, 89%, 89%
CMYK
0, 1, 19, 1
Luminance
0.9276

Every format

HEX#fcf9cb
RGBrgb(252, 249, 203)
HSLhsl(56, 89%, 89%)
CMYKcmyk(0%, 1%, 19%, 1%)
LABlab(97.1 -6.3 22.5)
LCHlch(97.1 23.4 105.6)
OKLCHoklch(0.973 0.059 104.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf9cb on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fcf9cb on black: 19.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green97.6%
Blue79.6%

CMYK percentages

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

Color previews

#fcf9cb text on a black background

contrast 19.55:1

Card sample

#fcf9cb text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf9cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf9cb in the Color Lab