Skip to content

#fdf8e2

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

RGB
253, 248, 226
HSL
49°, 87%, 94%
CMYK
0, 2, 11, 1
Luminance
0.9351

Every format

HEX#fdf8e2
RGBrgb(253, 248, 226)
HSLhsl(49, 87%, 94%)
CMYKcmyk(0%, 2%, 11%, 1%)
LABlab(97.4 -2.0 11.2)
LCHlch(97.4 11.3 100.1)
OKLCHoklch(0.977 0.029 96.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf8e2 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdf8e2 on black: 19.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow10.7%
Key (black)0.8%

Color previews

#fdf8e2 text on a black background

contrast 19.70:1

Card sample

#fdf8e2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8e2 in the Color Lab