Skip to content

#fdf6cd

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

RGB
253, 246, 205
HSL
51°, 92%, 90%
CMYK
0, 3, 19, 1
Luminance
0.9120

Every format

HEX#fdf6cd
RGBrgb(253, 246, 205)
HSLhsl(51, 92%, 90%)
CMYKcmyk(0%, 3%, 19%, 1%)
LABlab(96.5 -4.1 20.6)
LCHlch(96.5 21.0 101.4)
OKLCHoklch(0.968 0.054 99.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf6cd on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdf6cd on black: 19.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.5%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow19.0%
Key (black)0.8%

Color previews

#fdf6cd text on a black background

contrast 19.24:1

Card sample

#fdf6cd text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf6cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf6cd in the Color Lab