Skip to content

#fdf4c2

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

RGB
253, 244, 194
HSL
51°, 94%, 88%
CMYK
0, 4, 23, 1
Luminance
0.8948

Every format

HEX#fdf4c2
RGBrgb(253, 244, 194)
HSLhsl(51, 94%, 88%)
CMYKcmyk(0%, 4%, 23%, 1%)
LABlab(95.8 -4.7 25.2)
LCHlch(95.8 25.7 100.5)
OKLCHoklch(0.962 0.065 99.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf4c2 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf4c2 on black: 18.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue76.1%

CMYK percentages

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

Color previews

#fdf4c2 text on a black background

contrast 18.90:1

Card sample

#fdf4c2 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4c2 in the Color Lab