Skip to content

#fdf457

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

RGB
253, 244, 87
HSL
57°, 98%, 67%
CMYK
0, 4, 66, 1
Luminance
0.8627

Every format

HEX#fdf457
RGBrgb(253, 244, 87)
HSLhsl(57, 98%, 67%)
CMYKcmyk(0%, 4%, 66%, 1%)
LABlab(94.4 -14.8 73.5)
LCHlch(94.4 75.0 101.4)
OKLCHoklch(0.947 0.172 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue34.1%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow65.6%
Key (black)0.8%

Color previews

#fdf457 text on a black background

contrast 18.25:1

Card sample

#fdf457 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf457

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf457 in the Color Lab