Skip to content

#fddf56

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

RGB
253, 223, 86
HSL
49°, 98%, 67%
CMYK
0, 12, 66, 1
Luminance
0.7433

Every format

HEX#fddf56
RGBrgb(253, 223, 86)
HSLhsl(49, 98%, 67%)
CMYKcmyk(0%, 12%, 66%, 1%)
LABlab(89.1 -4.5 68.4)
LCHlch(89.1 68.5 93.7)
OKLCHoklch(0.904 0.155 96.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fddf56 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#fddf56 on black: 15.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green87.5%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta11.9%
Yellow66.0%
Key (black)0.8%

Color previews

#fddf56 text on a black background

contrast 15.87:1

Card sample

#fddf56 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddf56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddf56 in the Color Lab