Skip to content

#fcdf9d

a light, electric yellow · warm · closest name: khaki

RGB
252, 223, 157
HSL
42°, 94%, 80%
CMYK
0, 12, 38, 1
Luminance
0.7591

Every format

HEX#fcdf9d
RGBrgb(252, 223, 157)
HSLhsl(42, 94%, 80%)
CMYKcmyk(0%, 12%, 38%, 1%)
LABlab(89.8 1.0 36.0)
LCHlch(89.8 36.0 88.4)
OKLCHoklch(0.913 0.089 86.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcdf9d on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#fcdf9d on black: 16.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green87.5%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow37.7%
Key (black)1.2%

Color previews

#fcdf9d text on a black background

contrast 16.18:1

Card sample

#fcdf9d text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 223, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 223, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcdf9d;
background: linear-gradient(135deg, #fcdf9d, #DAFC9D);

Monochromatic scale

Palettes built from #fcdf9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf9d in the Color Lab