Skip to content

#fcdf7f

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

RGB
252, 223, 127
HSL
46°, 95%, 74%
CMYK
0, 12, 50, 1
Luminance
0.7500

Every format

HEX#fcdf7f
RGBrgb(252, 223, 127)
HSLhsl(46, 95%, 74%)
CMYKcmyk(0%, 12%, 50%, 1%)
LABlab(89.4 -2.0 50.4)
LCHlch(89.4 50.4 92.2)
OKLCHoklch(0.908 0.120 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow49.6%
Key (black)1.2%

Color previews

#fcdf7f text on a black background

contrast 16.00:1

Card sample

#fcdf7f text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf7f in the Color Lab