Skip to content

#fddb2f

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

RGB
253, 219, 47
HSL
50°, 98%, 59%
CMYK
0, 13, 81, 1
Luminance
0.7175

Every format

HEX#fddb2f
RGBrgb(253, 219, 47)
HSLhsl(50, 98%, 59%)
CMYKcmyk(0%, 13%, 81%, 1%)
LABlab(87.8 -4.1 80.5)
LCHlch(87.8 80.6 92.9)
OKLCHoklch(0.894 0.174 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fddb2f on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#fddb2f on black: 15.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green85.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta13.4%
Yellow81.4%
Key (black)0.8%

Color previews

#fddb2f text on a black background

contrast 15.35:1

Card sample

#fddb2f text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 219, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 219, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fddb2f;
background: linear-gradient(135deg, #fddb2f, #96FD2F);

Monochromatic scale

Palettes built from #fddb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddb2f in the Color Lab