Skip to content

#fddb2e

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

RGB
253, 219, 46
HSL
50°, 98%, 59%
CMYK
0, 13, 82, 1
Luminance
0.7174

Every format

HEX#fddb2e
RGBrgb(253, 219, 46)
HSLhsl(50, 98%, 59%)
CMYKcmyk(0%, 13%, 82%, 1%)
LABlab(87.8 -4.1 80.7)
LCHlch(87.8 80.8 92.9)
OKLCHoklch(0.894 0.174 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green85.9%
Blue18.0%

CMYK percentages

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

Color previews

#fddb2e text on a black background

contrast 15.35:1

Card sample

#fddb2e text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddb2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddb2e in the Color Lab