Skip to content

#fdf2c1

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

RGB
253, 242, 193
HSL
49°, 94%, 88%
CMYK
0, 4, 24, 1
Luminance
0.8824

Every format

HEX#fdf2c1
RGBrgb(253, 242, 193)
HSLhsl(49, 94%, 88%)
CMYKcmyk(0%, 4%, 24%, 1%)
LABlab(95.3 -3.8 25.0)
LCHlch(95.3 25.3 98.7)
OKLCHoklch(0.958 0.064 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue75.7%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow23.7%
Key (black)0.8%

Color previews

#fdf2c1 text on a black background

contrast 18.65:1

Card sample

#fdf2c1 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2c1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2c1 in the Color Lab