Skip to content

#fdf941

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

RGB
253, 249, 65
HSL
59°, 98%, 62%
CMYK
0, 2, 74, 1
Luminance
0.8902

Every format

HEX#fdf941
RGBrgb(253, 249, 65)
HSLhsl(59, 98%, 62%)
CMYKcmyk(0%, 2%, 74%, 1%)
LABlab(95.6 -18.3 82.2)
LCHlch(95.6 84.2 102.5)
OKLCHoklch(0.956 0.189 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue25.5%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow74.3%
Key (black)0.8%

Color previews

#fdf941 text on a black background

contrast 18.80:1

Card sample

#fdf941 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf941

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf941 in the Color Lab