Skip to content

#fdf7ce

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

RGB
253, 247, 206
HSL
52°, 92%, 90%
CMYK
0, 2, 19, 1
Luminance
0.9186

Every format

HEX#fdf7ce
RGBrgb(253, 247, 206)
HSLhsl(52, 92%, 90%)
CMYKcmyk(0%, 2%, 19%, 1%)
LABlab(96.8 -4.5 20.5)
LCHlch(96.8 21.0 102.4)
OKLCHoklch(0.971 0.053 100.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf7ce on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdf7ce on black: 19.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.9%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow18.6%
Key (black)0.8%

Color previews

#fdf7ce text on a black background

contrast 19.37:1

Card sample

#fdf7ce text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf7ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf7ce in the Color Lab