Skip to content

#fdfc50

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

RGB
253, 252, 80
HSL
60°, 98%, 65%
CMYK
0, 0, 68, 1
Luminance
0.9108

Every format

HEX#fdfc50
RGBrgb(253, 252, 80)
HSLhsl(60, 98%, 65%)
CMYKcmyk(0%, 0%, 68%, 1%)
LABlab(96.5 -19.0 78.1)
LCHlch(96.5 80.4 103.7)
OKLCHoklch(0.963 0.184 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfc50 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdfc50 on black: 19.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.8%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow68.4%
Key (black)0.8%

Color previews

#fdfc50 text on a black background

contrast 19.22:1

Card sample

#fdfc50 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc50 in the Color Lab