Skip to content

#fddc4f

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

RGB
253, 220, 79
HSL
49°, 98%, 65%
CMYK
0, 13, 69, 1
Luminance
0.7263

Every format

HEX#fddc4f
RGBrgb(253, 220, 79)
HSLhsl(49, 98%, 65%)
CMYKcmyk(0%, 13%, 69%, 1%)
LABlab(88.3 -3.3 70.3)
LCHlch(88.3 70.4 92.7)
OKLCHoklch(0.898 0.158 95.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fddc4f on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#fddc4f on black: 15.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green86.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta13.0%
Yellow68.8%
Key (black)0.8%

Color previews

#fddc4f text on a black background

contrast 15.53:1

Card sample

#fddc4f text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddc4f in the Color Lab