Skip to content

#fcefc2

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

RGB
252, 239, 194
HSL
47°, 91%, 88%
CMYK
0, 5, 23, 1
Luminance
0.8632

Every format

HEX#fcefc2
RGBrgb(252, 239, 194)
HSLhsl(47, 91%, 88%)
CMYKcmyk(0%, 5%, 23%, 1%)
LABlab(94.5 -2.5 23.4)
LCHlch(94.5 23.5 96.2)
OKLCHoklch(0.951 0.060 93.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcefc2 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#fcefc2 on black: 18.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green93.7%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta5.2%
Yellow23.0%
Key (black)1.2%

Color previews

#fcefc2 text on a black background

contrast 18.26:1

Card sample

#fcefc2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcefc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcefc2 in the Color Lab