Skip to content

#fdf45d

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

RGB
253, 244, 93
HSL
57°, 98%, 68%
CMYK
0, 4, 63, 1
Luminance
0.8637

Every format

HEX#fdf45d
RGBrgb(253, 244, 93)
HSLhsl(57, 98%, 68%)
CMYKcmyk(0%, 4%, 63%, 1%)
LABlab(94.5 -14.5 71.2)
LCHlch(94.5 72.7 101.5)
OKLCHoklch(0.947 0.168 105.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue36.5%

CMYK percentages

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

Color previews

#fdf45d text on a black background

contrast 18.27:1

Card sample

#fdf45d text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf45d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf45d in the Color Lab