Skip to content

#fdf960

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

RGB
253, 249, 96
HSL
59°, 98%, 68%
CMYK
0, 2, 62, 1
Luminance
0.8948

Every format

HEX#fdf960
RGBrgb(253, 249, 96)
HSLhsl(59, 98%, 68%)
CMYKcmyk(0%, 2%, 62%, 1%)
LABlab(95.8 -16.7 71.4)
LCHlch(95.8 73.3 103.2)
OKLCHoklch(0.958 0.170 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow62.1%
Key (black)0.8%

Color previews

#fdf960 text on a black background

contrast 18.90:1

Card sample

#fdf960 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf960

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf960 in the Color Lab