Skip to content

#fcdf8d

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

RGB
252, 223, 141
HSL
44°, 95%, 77%
CMYK
0, 12, 44, 1
Luminance
0.7539

Every format

HEX#fcdf8d
RGBrgb(252, 223, 141)
HSLhsl(44, 95%, 77%)
CMYKcmyk(0%, 12%, 44%, 1%)
LABlab(89.6 -0.7 43.8)
LCHlch(89.6 43.8 90.9)
OKLCHoklch(0.910 0.106 90.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcdf8d on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#fcdf8d on black: 16.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green87.5%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow44.0%
Key (black)1.2%

Color previews

#fcdf8d text on a black background

contrast 16.08:1

Card sample

#fcdf8d text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf8d in the Color Lab