Skip to content

#fdda28

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

RGB
253, 218, 40
HSL
50°, 98%, 58%
CMYK
0, 14, 84, 1
Luminance
0.7118

Every format

HEX#fdda28
RGBrgb(253, 218, 40)
HSLhsl(50, 98%, 58%)
CMYKcmyk(0%, 14%, 84%, 1%)
LABlab(87.6 -3.8 82.0)
LCHlch(87.6 82.1 92.6)
OKLCHoklch(0.892 0.176 96.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdda28 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#fdda28 on black: 15.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green85.5%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta13.8%
Yellow84.2%
Key (black)0.8%

Color previews

#fdda28 text on a black background

contrast 15.24:1

Card sample

#fdda28 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 218, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 218, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdda28;
background: linear-gradient(135deg, #fdda28, #92FD28);

Monochromatic scale

Palettes built from #fdda28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdda28 in the Color Lab