Skip to content

#fdf80d

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

RGB
253, 248, 13
HSL
59°, 98%, 52%
CMYK
0, 2, 95, 1
Luminance
0.8805

Every format

HEX#fdf80d
RGBrgb(253, 248, 13)
HSLhsl(59, 98%, 52%)
CMYKcmyk(0%, 2%, 95%, 1%)
LABlab(95.2 -18.9 92.0)
LCHlch(95.2 94.0 101.6)
OKLCHoklch(0.952 0.204 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf80d on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf80d on black: 18.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow94.9%
Key (black)0.8%

Color previews

#fdf80d text on a black background

contrast 18.61:1

Card sample

#fdf80d text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 248, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 248, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf80d;
background: linear-gradient(135deg, #fdf80d, #62FD0D);

Monochromatic scale

Palettes built from #fdf80d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf80d in the Color Lab