Skip to content

#fddc32

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

RGB
253, 220, 50
HSL
50°, 98%, 59%
CMYK
0, 13, 80, 1
Luminance
0.7230

Every format

HEX#fddc32
RGBrgb(253, 220, 50)
HSLhsl(50, 98%, 59%)
CMYKcmyk(0%, 13%, 80%, 1%)
LABlab(88.1 -4.5 79.9)
LCHlch(88.1 80.0 93.2)
OKLCHoklch(0.896 0.173 97.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green86.3%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta13.0%
Yellow80.2%
Key (black)0.8%

Color previews

#fddc32 text on a black background

contrast 15.46:1

Card sample

#fddc32 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddc32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddc32 in the Color Lab