Skip to content

#fdf9d7

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

RGB
253, 249, 215
HSL
54°, 91%, 92%
CMYK
0, 2, 15, 1
Luminance
0.9354

Every format

HEX#fdf9d7
RGBrgb(253, 249, 215)
HSLhsl(54, 91%, 92%)
CMYKcmyk(0%, 2%, 15%, 1%)
LABlab(97.5 -4.2 16.8)
LCHlch(97.5 17.3 104.0)
OKLCHoklch(0.977 0.044 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue84.3%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow15.0%
Key (black)0.8%

Color previews

#fdf9d7 text on a black background

contrast 19.71:1

Card sample

#fdf9d7 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9d7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf9d7 in the Color Lab