Skip to content

#fdf456

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

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

Every format

HEX#fdf456
RGBrgb(253, 244, 86)
HSLhsl(57, 98%, 67%)
CMYKcmyk(0%, 4%, 66%, 1%)
LABlab(94.4 -14.9 73.9)
LCHlch(94.4 75.3 101.4)
OKLCHoklch(0.947 0.173 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue33.7%

CMYK percentages

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

Color previews

#fdf456 text on a black background

contrast 18.25:1

Card sample

#fdf456 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf456

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf456 in the Color Lab