Skip to content

#fcdf82

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

RGB
252, 223, 130
HSL
46°, 95%, 75%
CMYK
0, 12, 48, 1
Luminance
0.7508

Every format

HEX#fcdf82
RGBrgb(252, 223, 130)
HSLhsl(46, 95%, 75%)
CMYKcmyk(0%, 12%, 48%, 1%)
LABlab(89.4 -1.7 49.0)
LCHlch(89.4 49.0 92.0)
OKLCHoklch(0.908 0.117 92.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue51.0%

CMYK percentages

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

Color previews

#fcdf82 text on a black background

contrast 16.02:1

Card sample

#fcdf82 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf82 in the Color Lab