Skip to content

#fdf954

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

RGB
253, 249, 84
HSL
59°, 98%, 66%
CMYK
0, 2, 67, 1
Luminance
0.8927

Every format

HEX#fdf954
RGBrgb(253, 249, 84)
HSLhsl(59, 98%, 66%)
CMYKcmyk(0%, 2%, 67%, 1%)
LABlab(95.7 -17.4 75.9)
LCHlch(95.7 77.9 102.9)
OKLCHoklch(0.957 0.178 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue32.9%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow66.8%
Key (black)0.8%

Color previews

#fdf954 text on a black background

contrast 18.85:1

Card sample

#fdf954 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf954

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf954 in the Color Lab