Skip to content

#fdf5dc

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

RGB
253, 245, 220
HSL
46°, 89%, 93%
CMYK
0, 3, 13, 1
Luminance
0.9135

Every format

HEX#fdf5dc
RGBrgb(253, 245, 220)
HSLhsl(46, 89%, 93%)
CMYKcmyk(0%, 3%, 13%, 1%)
LABlab(96.6 -1.4 13.0)
LCHlch(96.6 13.1 96.2)
OKLCHoklch(0.970 0.034 92.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf5dc on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdf5dc on black: 19.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.1%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow13.0%
Key (black)0.8%

Color previews

#fdf5dc text on a black background

contrast 19.27:1

Card sample

#fdf5dc text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5dc in the Color Lab