Skip to content

#fdf450

a light, electric yellow · cool · closest name: gold

RGB
253, 244, 80
HSL
57°, 98%, 65%
CMYK
0, 4, 68, 1
Luminance
0.8616

Every format

HEX#fdf450
RGBrgb(253, 244, 80)
HSLhsl(57, 98%, 65%)
CMYKcmyk(0%, 4%, 68%, 1%)
LABlab(94.4 -15.2 76.0)
LCHlch(94.4 77.5 101.3)
OKLCHoklch(0.946 0.176 106.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf450 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#fdf450 on black: 18.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue31.4%

CMYK percentages

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

Color previews

#fdf450 text on a black background

contrast 18.23:1

Card sample

#fdf450 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf450

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf450 in the Color Lab