Skip to content

#fdf428

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

RGB
253, 244, 40
HSL
58°, 98%, 58%
CMYK
0, 4, 84, 1
Luminance
0.8574

Every format

HEX#fdf428
RGBrgb(253, 244, 40)
HSLhsl(58, 98%, 58%)
CMYKcmyk(0%, 4%, 84%, 1%)
LABlab(94.2 -16.6 87.4)
LCHlch(94.2 89.0 100.8)
OKLCHoklch(0.944 0.195 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf428 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fdf428 on black: 18.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow84.2%
Key (black)0.8%

Color previews

#fdf428 text on a black background

contrast 18.15:1

Card sample

#fdf428 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 244, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 244, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf428;
background: linear-gradient(135deg, #fdf428, #78FD28);

Monochromatic scale

Palettes built from #fdf428

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf428 in the Color Lab