Skip to content

#fcdc3f

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

RGB
252, 220, 63
HSL
50°, 97%, 62%
CMYK
0, 13, 75, 1
Luminance
0.7224

Every format

HEX#fcdc3f
RGBrgb(252, 220, 63)
HSLhsl(50, 97%, 62%)
CMYKcmyk(0%, 13%, 75%, 1%)
LABlab(88.1 -4.5 75.8)
LCHlch(88.1 76.0 93.4)
OKLCHoklch(0.896 0.167 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcdc3f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#fcdc3f on black: 15.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green86.3%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta12.7%
Yellow75.0%
Key (black)1.2%

Color previews

#fcdc3f text on a black background

contrast 15.45:1

Card sample

#fcdc3f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 220, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 220, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcdc3f;
background: linear-gradient(135deg, #fcdc3f, #9EFC3F);

Monochromatic scale

Palettes built from #fcdc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdc3f in the Color Lab