Skip to content

#fcdf6f

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

RGB
252, 223, 111
HSL
48°, 96%, 71%
CMYK
0, 12, 56, 1
Luminance
0.7462

Every format

HEX#fcdf6f
RGBrgb(252, 223, 111)
HSLhsl(48, 96%, 71%)
CMYKcmyk(0%, 12%, 56%, 1%)
LABlab(89.2 -3.3 57.7)
LCHlch(89.2 57.8 93.2)
OKLCHoklch(0.906 0.135 95.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue43.5%

CMYK percentages

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

Color previews

#fcdf6f text on a black background

contrast 15.92:1

Card sample

#fcdf6f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf6f in the Color Lab