Skip to content

#fddf30

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

RGB
253, 223, 48
HSL
51°, 98%, 59%
CMYK
0, 12, 81, 1
Luminance
0.7387

Every format

HEX#fddf30
RGBrgb(253, 223, 48)
HSLhsl(51, 98%, 59%)
CMYKcmyk(0%, 12%, 81%, 1%)
LABlab(88.9 -6.0 81.1)
LCHlch(88.9 81.3 94.3)
OKLCHoklch(0.902 0.176 98.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fddf30 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#fddf30 on black: 15.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green87.5%
Blue18.8%

CMYK percentages

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

Color previews

#fddf30 text on a black background

contrast 15.77:1

Card sample

#fddf30 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddf30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddf30 in the Color Lab