Skip to content

#fdf917

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

RGB
253, 249, 23
HSL
59°, 98%, 54%
CMYK
0, 2, 91, 1
Luminance
0.8870

Every format

HEX#fdf917
RGBrgb(253, 249, 23)
HSLhsl(59, 98%, 54%)
CMYKcmyk(0%, 2%, 91%, 1%)
LABlab(95.5 -19.3 91.2)
LCHlch(95.5 93.2 102.0)
OKLCHoklch(0.954 0.203 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow90.9%
Key (black)0.8%

Color previews

#fdf917 text on a black background

contrast 18.74:1

Card sample

#fdf917 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf917

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf917 in the Color Lab