Skip to content

#fdf2da

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

RGB
253, 242, 218
HSL
41°, 90%, 92%
CMYK
0, 4, 14, 1
Luminance
0.8945

Every format

HEX#fdf2da
RGBrgb(253, 242, 218)
HSLhsl(41, 90%, 92%)
CMYKcmyk(0%, 4%, 14%, 1%)
LABlab(95.8 -0.2 12.9)
LCHlch(95.8 12.9 90.9)
OKLCHoklch(0.964 0.034 86.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf2da on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf2da on black: 18.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue85.5%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow13.8%
Key (black)0.8%

Color previews

#fdf2da text on a black background

contrast 18.89:1

Card sample

#fdf2da text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2da in the Color Lab