Skip to content

#fdf8ce

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

RGB
253, 248, 206
HSL
54°, 92%, 90%
CMYK
0, 2, 19, 1
Luminance
0.9247

Every format

HEX#fdf8ce
RGBrgb(253, 248, 206)
HSLhsl(54, 92%, 90%)
CMYKcmyk(0%, 2%, 19%, 1%)
LABlab(97.0 -5.0 20.8)
LCHlch(97.0 21.4 103.5)
OKLCHoklch(0.973 0.055 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf8ce on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdf8ce on black: 19.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow18.6%
Key (black)0.8%

Color previews

#fdf8ce text on a black background

contrast 19.49:1

Card sample

#fdf8ce text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8ce in the Color Lab