Skip to content

#fcdf6b

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

RGB
252, 223, 107
HSL
48°, 96%, 70%
CMYK
0, 12, 58, 1
Luminance
0.7453

Every format

HEX#fcdf6b
RGBrgb(252, 223, 107)
HSLhsl(48, 96%, 70%)
CMYKcmyk(0%, 12%, 58%, 1%)
LABlab(89.2 -3.6 59.4)
LCHlch(89.2 59.5 93.4)
OKLCHoklch(0.905 0.139 95.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue42.0%

CMYK percentages

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

Color previews

#fcdf6b text on a black background

contrast 15.91:1

Card sample

#fcdf6b text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf6b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf6b in the Color Lab