Skip to content

#fdf9e3

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

RGB
253, 249, 227
HSL
51°, 87%, 94%
CMYK
0, 2, 10, 1
Luminance
0.9418

Every format

HEX#fdf9e3
RGBrgb(253, 249, 227)
HSLhsl(51, 87%, 94%)
CMYKcmyk(0%, 2%, 10%, 1%)
LABlab(97.7 -2.3 11.0)
LCHlch(97.7 11.3 101.9)
OKLCHoklch(0.979 0.029 98.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf9e3 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdf9e3 on black: 19.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.6%
Blue89.0%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow10.3%
Key (black)0.8%

Color previews

#fdf9e3 text on a black background

contrast 19.84:1

Card sample

#fdf9e3 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9e3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf9e3 in the Color Lab