Skip to content

#fcdf32

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

RGB
252, 223, 50
HSL
51°, 97%, 59%
CMYK
0, 12, 80, 1
Luminance
0.7370

Every format

HEX#fcdf32
RGBrgb(252, 223, 50)
HSLhsl(51, 97%, 59%)
CMYKcmyk(0%, 12%, 80%, 1%)
LABlab(88.8 -6.4 80.4)
LCHlch(88.8 80.7 94.6)
OKLCHoklch(0.901 0.175 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green87.5%
Blue19.6%

CMYK percentages

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

Color previews

#fcdf32 text on a black background

contrast 15.74:1

Card sample

#fcdf32 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdf32 in the Color Lab