Skip to content

#fcdf8e

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

RGB
252, 223, 142
HSL
44°, 95%, 77%
CMYK
0, 12, 44, 1
Luminance
0.7542

Every format

HEX#fcdf8e
RGBrgb(252, 223, 142)
HSLhsl(44, 95%, 77%)
CMYKcmyk(0%, 12%, 44%, 1%)
LABlab(89.6 -0.6 43.3)
LCHlch(89.6 43.3 90.8)
OKLCHoklch(0.910 0.105 90.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue55.7%

CMYK percentages

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

Color previews

#fcdf8e text on a black background

contrast 16.08:1

Card sample

#fcdf8e text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf8e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf8e in the Color Lab