Skip to content

#fcfa21

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

RGB
252, 250, 33
HSL
60°, 97%, 56%
CMYK
0, 1, 87, 1
Luminance
0.8918

Every format

HEX#fcfa21
RGBrgb(252, 250, 33)
HSLhsl(60, 97%, 56%)
CMYKcmyk(0%, 1%, 87%, 1%)
LABlab(95.7 -20.0 89.9)
LCHlch(95.7 92.1 102.6)
OKLCHoklch(0.956 0.202 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcfa21 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fcfa21 on black: 18.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green98.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow86.9%
Key (black)1.2%

Color previews

#fcfa21 text on a black background

contrast 18.84:1

Card sample

#fcfa21 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 250, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 250, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcfa21;
background: linear-gradient(135deg, #fcfa21, #6CFC21);

Monochromatic scale

Palettes built from #fcfa21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfa21 in the Color Lab