Skip to content

#fdf7df

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

RGB
253, 247, 223
HSL
48°, 88%, 93%
CMYK
0, 2, 12, 1
Luminance
0.9273

Every format

HEX#fdf7df
RGBrgb(253, 247, 223)
HSLhsl(48, 88%, 93%)
CMYKcmyk(0%, 2%, 12%, 1%)
LABlab(97.1 -1.9 12.3)
LCHlch(97.1 12.4 99.0)
OKLCHoklch(0.975 0.032 95.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green96.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow11.9%
Key (black)0.8%

Color previews

#fdf7df text on a black background

contrast 19.55:1

Card sample

#fdf7df text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf7df in the Color Lab