Skip to content

#fdf2d5

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

RGB
253, 242, 213
HSL
44°, 91%, 91%
CMYK
0, 4, 16, 1
Luminance
0.8919

Every format

HEX#fdf2d5
RGBrgb(253, 242, 213)
HSLhsl(44, 91%, 91%)
CMYKcmyk(0%, 4%, 16%, 1%)
LABlab(95.7 -1.0 15.3)
LCHlch(95.7 15.4 93.6)
OKLCHoklch(0.962 0.040 89.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue83.5%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow15.8%
Key (black)0.8%

Color previews

#fdf2d5 text on a black background

contrast 18.84:1

Card sample

#fdf2d5 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2d5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2d5 in the Color Lab