Skip to content

#fdf1cf

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

RGB
253, 241, 207
HSL
44°, 92%, 90%
CMYK
0, 5, 18, 1
Luminance
0.8830

Every format

HEX#fdf1cf
RGBrgb(253, 241, 207)
HSLhsl(44, 92%, 90%)
CMYKcmyk(0%, 5%, 18%, 1%)
LABlab(95.3 -1.3 17.9)
LCHlch(95.3 17.9 94.3)
OKLCHoklch(0.959 0.046 90.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf1cf on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf1cf on black: 18.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.5%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow18.2%
Key (black)0.8%

Color previews

#fdf1cf text on a black background

contrast 18.66:1

Card sample

#fdf1cf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf1cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf1cf in the Color Lab