Skip to content

#fdf5c2

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

RGB
253, 245, 194
HSL
52°, 94%, 88%
CMYK
0, 3, 23, 1
Luminance
0.9008

Every format

HEX#fdf5c2
RGBrgb(253, 245, 194)
HSLhsl(52, 94%, 88%)
CMYKcmyk(0%, 3%, 23%, 1%)
LABlab(96.0 -5.2 25.6)
LCHlch(96.0 26.1 101.4)
OKLCHoklch(0.964 0.066 100.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf5c2 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdf5c2 on black: 19.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.1%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow23.3%
Key (black)0.8%

Color previews

#fdf5c2 text on a black background

contrast 19.02:1

Card sample

#fdf5c2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5c2 in the Color Lab