Skip to content

#fdf417

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

RGB
253, 244, 23
HSL
58°, 98%, 54%
CMYK
0, 4, 91, 1
Luminance
0.8565

Every format

HEX#fdf417
RGBrgb(253, 244, 23)
HSLhsl(58, 98%, 54%)
CMYKcmyk(0%, 4%, 91%, 1%)
LABlab(94.2 -16.9 90.2)
LCHlch(94.2 91.8 100.6)
OKLCHoklch(0.944 0.199 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf417 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fdf417 on black: 18.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue9.0%

CMYK percentages

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

Color previews

#fdf417 text on a black background

contrast 18.13:1

Card sample

#fdf417 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf417

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf417 in the Color Lab