Skip to content

#fdf2d8

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

RGB
253, 242, 216
HSL
42°, 90%, 92%
CMYK
0, 4, 15, 1
Luminance
0.8934

Every format

HEX#fdf2d8
RGBrgb(253, 242, 216)
HSLhsl(42, 90%, 92%)
CMYKcmyk(0%, 4%, 15%, 1%)
LABlab(95.7 -0.5 13.9)
LCHlch(95.7 13.9 92.1)
OKLCHoklch(0.963 0.036 87.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf2d8 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf2d8 on black: 18.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue84.7%

CMYK percentages

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

Color previews

#fdf2d8 text on a black background

contrast 18.87:1

Card sample

#fdf2d8 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2d8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2d8 in the Color Lab