Skip to content

#fcdf9b

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

RGB
252, 223, 155
HSL
42°, 94%, 80%
CMYK
0, 12, 39, 1
Luminance
0.7584

Every format

HEX#fcdf9b
RGBrgb(252, 223, 155)
HSLhsl(42, 94%, 80%)
CMYKcmyk(0%, 12%, 39%, 1%)
LABlab(89.8 0.8 37.0)
LCHlch(89.8 37.0 88.8)
OKLCHoklch(0.912 0.091 87.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue60.8%

CMYK percentages

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

Color previews

#fcdf9b text on a black background

contrast 16.17:1

Card sample

#fcdf9b text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf9b in the Color Lab