Skip to content

#fcdf1d

a balanced, electric yellow · cool · closest name: gold

RGB
252, 223, 29
HSL
52°, 97%, 55%
CMYK
0, 12, 89, 1
Luminance
0.7356

Every format

HEX#fcdf1d
RGBrgb(252, 223, 29)
HSLhsl(52, 97%, 55%)
CMYKcmyk(0%, 12%, 89%, 1%)
LABlab(88.7 -6.9 85.1)
LCHlch(88.7 85.3 94.6)
OKLCHoklch(0.900 0.182 99.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcdf1d on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#fcdf1d on black: 15.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green87.5%
Blue11.4%

CMYK percentages

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

Color previews

#fcdf1d text on a black background

contrast 15.71:1

Card sample

#fcdf1d text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf1d in the Color Lab