Skip to content

#fdf8cd

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

RGB
253, 248, 205
HSL
54°, 92%, 90%
CMYK
0, 2, 19, 1
Luminance
0.9243

Every format

HEX#fdf8cd
RGBrgb(253, 248, 205)
HSLhsl(54, 92%, 90%)
CMYKcmyk(0%, 2%, 19%, 1%)
LABlab(97.0 -5.1 21.3)
LCHlch(97.0 21.9 103.6)
OKLCHoklch(0.972 0.056 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.3%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow19.0%
Key (black)0.8%

Color previews

#fdf8cd text on a black background

contrast 19.49:1

Card sample

#fdf8cd text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8cd in the Color Lab