Skip to content

#fdf404

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

RGB
253, 244, 4
HSL
58°, 98%, 50%
CMYK
0, 4, 98, 1
Luminance
0.8559

Every format

HEX#fdf404
RGBrgb(253, 244, 4)
HSLhsl(58, 98%, 50%)
CMYKcmyk(0%, 4%, 98%, 1%)
LABlab(94.1 -17.1 91.9)
LCHlch(94.1 93.5 100.5)
OKLCHoklch(0.944 0.202 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow98.4%
Key (black)0.8%

Color previews

#fdf404 text on a black background

contrast 18.12:1

Card sample

#fdf404 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf404

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf404 in the Color Lab