Skip to content

#fdf1c6

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

RGB
253, 241, 198
HSL
47°, 93%, 88%
CMYK
0, 5, 22, 1
Luminance
0.8787

Every format

HEX#fdf1c6
RGBrgb(253, 241, 198)
HSLhsl(47, 93%, 88%)
CMYKcmyk(0%, 5%, 22%, 1%)
LABlab(95.1 -2.6 22.3)
LCHlch(95.1 22.4 96.7)
OKLCHoklch(0.957 0.057 94.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.5%
Blue77.6%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow21.7%
Key (black)0.8%

Color previews

#fdf1c6 text on a black background

contrast 18.57:1

Card sample

#fdf1c6 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf1c6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf1c6 in the Color Lab