Skip to content

#fdf82c

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

RGB
253, 248, 44
HSL
59°, 98%, 58%
CMYK
0, 2, 83, 1
Luminance
0.8820

Every format

HEX#fdf82c
RGBrgb(253, 248, 44)
HSLhsl(59, 98%, 58%)
CMYKcmyk(0%, 2%, 83%, 1%)
LABlab(95.3 -18.4 87.4)
LCHlch(95.3 89.3 101.9)
OKLCHoklch(0.953 0.197 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fdf82c text on a black background

contrast 18.64:1

Card sample

#fdf82c text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf82c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf82c in the Color Lab