Skip to content

#fdf9ef

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

RGB
253, 249, 239
HSL
43°, 78%, 97%
CMYK
0, 2, 6, 1
Luminance
0.9487

Every format

HEX#fdf9ef
RGBrgb(253, 249, 239)
HSLhsl(43, 78%, 97%)
CMYKcmyk(0%, 2%, 6%, 1%)
LABlab(98.0 -0.4 5.3)
LCHlch(98.0 5.3 94.0)
OKLCHoklch(0.983 0.014 88.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf9ef on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fdf9ef on black: 19.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.6%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow5.5%
Key (black)0.8%

Color previews

#fdf9ef text on a black background

contrast 19.97:1

Card sample

#fdf9ef text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf9ef in the Color Lab