Skip to content

#fdf82d

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

RGB
253, 248, 45
HSL
59°, 98%, 58%
CMYK
0, 2, 82, 1
Luminance
0.8821

Every format

HEX#fdf82d
RGBrgb(253, 248, 45)
HSLhsl(59, 98%, 58%)
CMYKcmyk(0%, 2%, 82%, 1%)
LABlab(95.3 -18.4 87.2)
LCHlch(95.3 89.1 101.9)
OKLCHoklch(0.953 0.197 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.3%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow82.2%
Key (black)0.8%

Color previews

#fdf82d text on a black background

contrast 18.64:1

Card sample

#fdf82d text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf82d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf82d in the Color Lab