Skip to content

#fddc0f

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

RGB
253, 220, 15
HSL
52°, 98%, 53%
CMYK
0, 13, 94, 1
Luminance
0.7210

Every format

HEX#fddc0f
RGBrgb(253, 220, 15)
HSLhsl(52, 98%, 53%)
CMYKcmyk(0%, 13%, 94%, 1%)
LABlab(88.0 -5.2 86.5)
LCHlch(88.0 86.7 93.4)
OKLCHoklch(0.895 0.183 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green86.3%
Blue5.9%

CMYK percentages

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

Color previews

#fddc0f text on a black background

contrast 15.42:1

Card sample

#fddc0f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddc0f in the Color Lab