Skip to content

#fcdf5e

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

RGB
252, 223, 94
HSL
49°, 96%, 68%
CMYK
0, 12, 63, 1
Luminance
0.7428

Every format

HEX#fcdf5e
RGBrgb(252, 223, 94)
HSLhsl(49, 96%, 68%)
CMYKcmyk(0%, 12%, 63%, 1%)
LABlab(89.1 -4.4 65.0)
LCHlch(89.1 65.2 93.9)
OKLCHoklch(0.904 0.149 96.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcdf5e on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#fcdf5e on black: 15.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green87.5%
Blue36.9%

CMYK percentages

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

Color previews

#fcdf5e text on a black background

contrast 15.86:1

Card sample

#fcdf5e text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf5e in the Color Lab