Skip to content

#fddc0d

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

RGB
253, 220, 13
HSL
52°, 98%, 52%
CMYK
0, 13, 95, 1
Luminance
0.7210

Every format

HEX#fddc0d
RGBrgb(253, 220, 13)
HSLhsl(52, 98%, 52%)
CMYKcmyk(0%, 13%, 95%, 1%)
LABlab(88.0 -5.2 86.7)
LCHlch(88.0 86.9 93.4)
OKLCHoklch(0.895 0.183 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fddc0d on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#fddc0d on black: 15.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green86.3%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta13.0%
Yellow94.9%
Key (black)0.8%

Color previews

#fddc0d text on a black background

contrast 15.42:1

Card sample

#fddc0d text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 220, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 220, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fddc0d;
background: linear-gradient(135deg, #fddc0d, #7EFD0D);

Monochromatic scale

Palettes built from #fddc0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddc0d in the Color Lab