Skip to content

#fcf950

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

RGB
252, 249, 80
HSL
59°, 97%, 65%
CMYK
0, 1, 68, 1
Luminance
0.8903

Every format

HEX#fcf950
RGBrgb(252, 249, 80)
HSLhsl(59, 97%, 65%)
CMYKcmyk(0%, 1%, 68%, 1%)
LABlab(95.6 -18.0 77.2)
LCHlch(95.6 79.3 103.1)
OKLCHoklch(0.956 0.181 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf950 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fcf950 on black: 18.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green97.6%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow68.3%
Key (black)1.2%

Color previews

#fcf950 text on a black background

contrast 18.81:1

Card sample

#fcf950 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf950 in the Color Lab