Skip to content

#fcdf7d

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

RGB
252, 223, 125
HSL
46°, 96%, 74%
CMYK
0, 12, 50, 1
Luminance
0.7495

Every format

HEX#fcdf7d
RGBrgb(252, 223, 125)
HSLhsl(46, 96%, 74%)
CMYKcmyk(0%, 12%, 50%, 1%)
LABlab(89.4 -2.1 51.3)
LCHlch(89.4 51.3 92.4)
OKLCHoklch(0.908 0.122 93.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow50.4%
Key (black)1.2%

Color previews

#fcdf7d text on a black background

contrast 15.99:1

Card sample

#fcdf7d text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf7d in the Color Lab