Skip to content

#fdf2ce

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

RGB
253, 242, 206
HSL
46°, 92%, 90%
CMYK
0, 4, 19, 1
Luminance
0.8884

Every format

HEX#fdf2ce
RGBrgb(253, 242, 206)
HSLhsl(46, 92%, 90%)
CMYKcmyk(0%, 4%, 19%, 1%)
LABlab(95.5 -2.0 18.7)
LCHlch(95.5 18.8 96.1)
OKLCHoklch(0.961 0.048 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf2ce on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fdf2ce on black: 18.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow18.6%
Key (black)0.8%

Color previews

#fdf2ce text on a black background

contrast 18.77:1

Card sample

#fdf2ce text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2ce in the Color Lab