Skip to content

#fdf6dc

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

RGB
253, 246, 220
HSL
47°, 89%, 93%
CMYK
0, 3, 13, 1
Luminance
0.9196

Every format

HEX#fdf6dc
RGBrgb(253, 246, 220)
HSLhsl(47, 89%, 93%)
CMYKcmyk(0%, 3%, 13%, 1%)
LABlab(96.8 -1.9 13.3)
LCHlch(96.8 13.5 98.1)
OKLCHoklch(0.972 0.035 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf6dc on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdf6dc on black: 19.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.5%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow13.0%
Key (black)0.8%

Color previews

#fdf6dc text on a black background

contrast 19.39:1

Card sample

#fdf6dc text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf6dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf6dc in the Color Lab