Skip to content

#fdf7de

a pale, electric yellow · cool · “beige”

RGB
253, 247, 222
HSL
48°, 89%, 93%
CMYK
0, 2, 12, 1
Luminance
0.9268

Every format

HEX#fdf7de
RGBrgb(253, 247, 222)
HSLhsl(48, 89%, 93%)
CMYKcmyk(0%, 2%, 12%, 1%)
LABlab(97.1 -2.1 12.7)
LCHlch(97.1 12.9 99.4)
OKLCHoklch(0.974 0.033 95.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green96.9%
Blue87.1%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow12.3%
Key (black)0.8%

Color previews

#fdf7de text on a black background

contrast 19.54:1

Card sample

#fdf7de text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf7de

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf7de in the Color Lab