Skip to content

#fcdf48

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

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

Every format

HEX#fcdf48
RGBrgb(252, 223, 72)
HSLhsl(50, 97%, 64%)
CMYKcmyk(0%, 12%, 71%, 1%)
LABlab(88.9 -5.6 73.5)
LCHlch(88.9 73.7 94.3)
OKLCHoklch(0.902 0.164 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue28.2%

CMYK percentages

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

Color previews

#fcdf48 text on a black background

contrast 15.79:1

Card sample

#fcdf48 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf48 in the Color Lab