Skip to content

#fdf9cf

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

RGB
253, 249, 207
HSL
55°, 92%, 90%
CMYK
0, 2, 18, 1
Luminance
0.9314

Every format

HEX#fdf9cf
RGBrgb(253, 249, 207)
HSLhsl(55, 92%, 90%)
CMYKcmyk(0%, 2%, 18%, 1%)
LABlab(97.3 -5.4 20.7)
LCHlch(97.3 21.4 104.5)
OKLCHoklch(0.975 0.054 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow18.2%
Key (black)0.8%

Color previews

#fdf9cf text on a black background

contrast 19.63:1

Card sample

#fdf9cf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf9cf in the Color Lab