Skip to content

#fdd40f

a balanced, electric yellow · cool · “gold”

RGB
253, 212, 15
HSL
50°, 98%, 53%
CMYK
0, 16, 94, 1
Luminance
0.6800

Every format

HEX#fdd40f
RGBrgb(253, 212, 15)
HSLhsl(50, 98%, 53%)
CMYKcmyk(0%, 16%, 94%, 1%)
LABlab(86.0 -1.1 85.0)
LCHlch(86.0 85.1 90.8)
OKLCHoklch(0.879 0.179 94.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdd40f on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#fdd40f on black: 14.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green83.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta16.2%
Yellow94.1%
Key (black)0.8%

Color previews

#fdd40f text on a black background

contrast 14.60:1

Card sample

#fdd40f text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 212, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 212, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdd40f;
background: linear-gradient(135deg, #fdd40f, #87FD0F);

Monochromatic scale

Palettes built from #fdd40f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdd40f in the Color Lab