Skip to content

#fcf2c0

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

RGB
252, 242, 192
HSL
50°, 91%, 87%
CMYK
0, 4, 24, 1
Luminance
0.8801

Every format

HEX#fcf2c0
RGBrgb(252, 242, 192)
HSLhsl(50, 91%, 87%)
CMYKcmyk(0%, 4%, 24%, 1%)
LABlab(95.2 -4.3 25.4)
LCHlch(95.2 25.8 99.6)
OKLCHoklch(0.957 0.065 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf2c0 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2c0 on black: 18.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow23.8%
Key (black)1.2%

Color previews

#fcf2c0 text on a black background

contrast 18.60:1

Card sample

#fcf2c0 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2c0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2c0 in the Color Lab