Skip to content

#fddb2c

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

RGB
253, 219, 44
HSL
50°, 98%, 58%
CMYK
0, 13, 83, 1
Luminance
0.7173

Every format

HEX#fddb2c
RGBrgb(253, 219, 44)
HSLhsl(50, 98%, 58%)
CMYKcmyk(0%, 13%, 83%, 1%)
LABlab(87.8 -4.2 81.2)
LCHlch(87.8 81.3 92.9)
OKLCHoklch(0.894 0.175 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green85.9%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta13.4%
Yellow82.6%
Key (black)0.8%

Color previews

#fddb2c text on a black background

contrast 15.35:1

Card sample

#fddb2c text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddb2c in the Color Lab