Skip to content

#fcdf4d

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

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

Every format

HEX#fcdf4d
RGBrgb(252, 223, 77)
HSLhsl(50, 97%, 65%)
CMYKcmyk(0%, 12%, 69%, 1%)
LABlab(88.9 -5.3 71.7)
LCHlch(88.9 71.9 94.3)
OKLCHoklch(0.903 0.161 97.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue30.2%

CMYK percentages

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

Color previews

#fcdf4d text on a black background

contrast 15.80:1

Card sample

#fcdf4d text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf4d in the Color Lab