Skip to content

#fcdf0e

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

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

Every format

HEX#fcdf0e
RGBrgb(252, 223, 14)
HSLhsl(53, 98%, 52%)
CMYKcmyk(0%, 12%, 94%, 1%)
LABlab(88.7 -7.1 87.1)
LCHlch(88.7 87.4 94.7)
OKLCHoklch(0.900 0.185 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fcdf0e text on a black background

contrast 15.70:1

Card sample

#fcdf0e text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf0e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf0e in the Color Lab