Skip to content

#fdf1d9

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

RGB
253, 241, 217
HSL
40°, 90%, 92%
CMYK
0, 5, 14, 1
Luminance
0.8880

Every format

HEX#fdf1d9
RGBrgb(253, 241, 217)
HSLhsl(40, 90%, 92%)
CMYKcmyk(0%, 5%, 14%, 1%)
LABlab(95.5 0.1 13.0)
LCHlch(95.5 13.0 89.3)
OKLCHoklch(0.961 0.034 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.5%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow14.2%
Key (black)0.8%

Color previews

#fdf1d9 text on a black background

contrast 18.76:1

Card sample

#fdf1d9 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf1d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf1d9 in the Color Lab