Skip to content

#fdf5d4

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

RGB
253, 245, 212
HSL
48°, 91%, 91%
CMYK
0, 3, 16, 1
Luminance
0.9094

Every format

HEX#fdf5d4
RGBrgb(253, 245, 212)
HSLhsl(48, 91%, 91%)
CMYKcmyk(0%, 3%, 16%, 1%)
LABlab(96.4 -2.6 16.9)
LCHlch(96.4 17.1 98.8)
OKLCHoklch(0.968 0.044 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green96.1%
Blue83.1%

CMYK percentages

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

Color previews

#fdf5d4 text on a black background

contrast 19.19:1

Card sample

#fdf5d4 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5d4 in the Color Lab