Skip to content

#fcdf49

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

RGB
252, 223, 73
HSL
50°, 97%, 64%
CMYK
0, 12, 71, 1
Luminance
0.7395

Every format

HEX#fcdf49
RGBrgb(252, 223, 73)
HSLhsl(50, 97%, 64%)
CMYKcmyk(0%, 12%, 71%, 1%)
LABlab(88.9 -5.5 73.2)
LCHlch(88.9 73.4 94.3)
OKLCHoklch(0.902 0.164 97.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcdf49 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#fcdf49 on black: 15.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green87.5%
Blue28.6%

CMYK percentages

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

Color previews

#fcdf49 text on a black background

contrast 15.79:1

Card sample

#fcdf49 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf49 in the Color Lab