Skip to content

#fcdf0d

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

RGB
252, 223, 13
HSL
53°, 98%, 52%
CMYK
0, 12, 95, 1
Luminance
0.7350

Every format

HEX#fcdf0d
RGBrgb(252, 223, 13)
HSLhsl(53, 98%, 52%)
CMYKcmyk(0%, 12%, 95%, 1%)
LABlab(88.7 -7.1 87.2)
LCHlch(88.7 87.5 94.7)
OKLCHoklch(0.900 0.185 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow94.8%
Key (black)1.2%

Color previews

#fcdf0d text on a black background

contrast 15.70:1

Card sample

#fcdf0d text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf0d in the Color Lab