Skip to content

#fdf2c9

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

RGB
253, 242, 201
HSL
47°, 93%, 89%
CMYK
0, 4, 21, 1
Luminance
0.8860

Every format

HEX#fdf2c9
RGBrgb(253, 242, 201)
HSLhsl(47, 93%, 89%)
CMYKcmyk(0%, 4%, 21%, 1%)
LABlab(95.4 -2.7 21.1)
LCHlch(95.4 21.3 97.3)
OKLCHoklch(0.960 0.054 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf2c9 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fdf2c9 on black: 18.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue78.8%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow20.6%
Key (black)0.8%

Color previews

#fdf2c9 text on a black background

contrast 18.72:1

Card sample

#fdf2c9 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2c9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2c9 in the Color Lab