Skip to content

#fcdf4e

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

RGB
252, 223, 78
HSL
50°, 97%, 65%
CMYK
0, 12, 69, 1
Luminance
0.7402

Every format

HEX#fcdf4e
RGBrgb(252, 223, 78)
HSLhsl(50, 97%, 65%)
CMYKcmyk(0%, 12%, 69%, 1%)
LABlab(88.9 -5.3 71.3)
LCHlch(88.9 71.5 94.3)
OKLCHoklch(0.903 0.161 97.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue30.6%

CMYK percentages

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

Color previews

#fcdf4e text on a black background

contrast 15.80:1

Card sample

#fcdf4e text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf4e in the Color Lab