Skip to content

#fdec45

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

RGB
253, 236, 69
HSL
55°, 98%, 63%
CMYK
0, 7, 73, 1
Luminance
0.8130

Every format

HEX#fdec45
RGBrgb(253, 236, 69)
HSLhsl(55, 98%, 63%)
CMYKcmyk(0%, 7%, 73%, 1%)
LABlab(92.3 -11.8 77.8)
LCHlch(92.3 78.7 98.6)
OKLCHoklch(0.929 0.176 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdec45 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#fdec45 on black: 17.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green92.5%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow72.7%
Key (black)0.8%

Color previews

#fdec45 text on a black background

contrast 17.26:1

Card sample

#fdec45 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 236, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 236, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdec45;
background: linear-gradient(135deg, #fdec45, #93FD45);

Monochromatic scale

Palettes built from #fdec45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdec45 in the Color Lab