Skip to content

#fdf8dd

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

RGB
253, 248, 221
HSL
51°, 89%, 93%
CMYK
0, 2, 13, 1
Luminance
0.9324

Every format

HEX#fdf8dd
RGBrgb(253, 248, 221)
HSLhsl(51, 89%, 93%)
CMYKcmyk(0%, 2%, 13%, 1%)
LABlab(97.3 -2.8 13.6)
LCHlch(97.3 13.8 101.5)
OKLCHoklch(0.976 0.036 98.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf8dd on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdf8dd on black: 19.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue86.7%

CMYK percentages

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

Color previews

#fdf8dd text on a black background

contrast 19.65:1

Card sample

#fdf8dd text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8dd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8dd in the Color Lab