Skip to content

#fdcd2d

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

RGB
253, 205, 45
HSL
46°, 98%, 58%
CMYK
0, 19, 82, 1
Luminance
0.6473

Every format

HEX#fdcd2d
RGBrgb(253, 205, 45)
HSLhsl(46, 98%, 58%)
CMYKcmyk(0%, 19%, 82%, 1%)
LABlab(84.3 3.0 78.0)
LCHlch(84.3 78.1 87.8)
OKLCHoklch(0.866 0.167 90.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdcd2d on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#fdcd2d on black: 13.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green80.4%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow82.2%
Key (black)0.8%

Color previews

#fdcd2d text on a black background

contrast 13.95:1

Card sample

#fdcd2d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcd2d in the Color Lab