Skip to content

#fdf0c6

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

RGB
253, 240, 198
HSL
46°, 93%, 88%
CMYK
0, 5, 22, 1
Luminance
0.8728

Every format

HEX#fdf0c6
RGBrgb(253, 240, 198)
HSLhsl(46, 93%, 88%)
CMYKcmyk(0%, 5%, 22%, 1%)
LABlab(94.9 -2.1 21.9)
LCHlch(94.9 22.0 95.5)
OKLCHoklch(0.955 0.056 92.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf0c6 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fdf0c6 on black: 18.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.1%
Blue77.6%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow21.7%
Key (black)0.8%

Color previews

#fdf0c6 text on a black background

contrast 18.46:1

Card sample

#fdf0c6 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf0c6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf0c6 in the Color Lab