Skip to content

#fdf8c0

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

RGB
253, 248, 192
HSL
55°, 94%, 87%
CMYK
0, 2, 24, 1
Luminance
0.9182

Every format

HEX#fdf8c0
RGBrgb(253, 248, 192)
HSLhsl(55, 94%, 87%)
CMYKcmyk(0%, 2%, 24%, 1%)
LABlab(96.8 -6.9 27.6)
LCHlch(96.8 28.4 104.1)
OKLCHoklch(0.970 0.072 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf8c0 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdf8c0 on black: 19.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow24.1%
Key (black)0.8%

Color previews

#fdf8c0 text on a black background

contrast 19.36:1

Card sample

#fdf8c0 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf8c0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf8c0 in the Color Lab