Skip to content

#fdf950

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

RGB
253, 249, 80
HSL
59°, 98%, 65%
CMYK
0, 2, 68, 1
Luminance
0.8921

Every format

HEX#fdf950
RGBrgb(253, 249, 80)
HSLhsl(59, 98%, 65%)
CMYKcmyk(0%, 2%, 68%, 1%)
LABlab(95.7 -17.6 77.3)
LCHlch(95.7 79.3 102.8)
OKLCHoklch(0.957 0.181 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow68.4%
Key (black)0.8%

Color previews

#fdf950 text on a black background

contrast 18.84:1

Card sample

#fdf950 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf950 in the Color Lab