Skip to content

#fcdf6c

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

RGB
252, 223, 108
HSL
48°, 96%, 71%
CMYK
0, 12, 57, 1
Luminance
0.7455

Every format

HEX#fcdf6c
RGBrgb(252, 223, 108)
HSLhsl(48, 96%, 71%)
CMYKcmyk(0%, 12%, 57%, 1%)
LABlab(89.2 -3.5 59.0)
LCHlch(89.2 59.1 93.4)
OKLCHoklch(0.906 0.138 95.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow57.1%
Key (black)1.2%

Color previews

#fcdf6c text on a black background

contrast 15.91:1

Card sample

#fcdf6c text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf6c in the Color Lab