Skip to content

#fcdf3c

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

RGB
252, 223, 60
HSL
51°, 97%, 61%
CMYK
0, 12, 76, 1
Luminance
0.7380

Every format

HEX#fcdf3c
RGBrgb(252, 223, 60)
HSLhsl(51, 97%, 61%)
CMYKcmyk(0%, 12%, 76%, 1%)
LABlab(88.8 -6.1 77.5)
LCHlch(88.8 77.8 94.5)
OKLCHoklch(0.902 0.171 98.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow76.2%
Key (black)1.2%

Color previews

#fcdf3c text on a black background

contrast 15.76:1

Card sample

#fcdf3c text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf3c in the Color Lab