Skip to content

#fdf5e2

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

RGB
253, 245, 226
HSL
42°, 87%, 94%
CMYK
0, 3, 11, 1
Luminance
0.9168

Every format

HEX#fdf5e2
RGBrgb(253, 245, 226)
HSLhsl(42, 87%, 94%)
CMYKcmyk(0%, 3%, 11%, 1%)
LABlab(96.7 -0.5 10.1)
LCHlch(96.7 10.1 92.7)
OKLCHoklch(0.971 0.026 87.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green96.1%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow10.7%
Key (black)0.8%

Color previews

#fdf5e2 text on a black background

contrast 19.34:1

Card sample

#fdf5e2 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5e2 in the Color Lab