Skip to content

#fcdf8f

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

RGB
252, 223, 143
HSL
44°, 95%, 78%
CMYK
0, 12, 43, 1
Luminance
0.7545

Every format

HEX#fcdf8f
RGBrgb(252, 223, 143)
HSLhsl(44, 95%, 78%)
CMYKcmyk(0%, 12%, 43%, 1%)
LABlab(89.6 -0.5 42.8)
LCHlch(89.6 42.8 90.6)
OKLCHoklch(0.910 0.104 90.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue56.1%

CMYK percentages

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

Color previews

#fcdf8f text on a black background

contrast 16.09:1

Card sample

#fcdf8f text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf8f in the Color Lab