Skip to content

#fcf5d2

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

RGB
252, 245, 210
HSL
50°, 88%, 91%
CMYK
0, 3, 17, 1
Luminance
0.9065

Every format

HEX#fcf5d2
RGBrgb(252, 245, 210)
HSLhsl(50, 88%, 91%)
CMYKcmyk(0%, 3%, 17%, 1%)
LABlab(96.3 -3.3 17.7)
LCHlch(96.3 18.0 100.5)
OKLCHoklch(0.967 0.046 97.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf5d2 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fcf5d2 on black: 19.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green96.1%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow16.7%
Key (black)1.2%

Color previews

#fcf5d2 text on a black background

contrast 19.13:1

Card sample

#fcf5d2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf5d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf5d2 in the Color Lab