Skip to content

#fdcc2c

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

RGB
253, 204, 44
HSL
46°, 98%, 58%
CMYK
0, 19, 83, 1
Luminance
0.6425

Every format

HEX#fdcc2c
RGBrgb(253, 204, 44)
HSLhsl(46, 98%, 58%)
CMYKcmyk(0%, 19%, 83%, 1%)
LABlab(84.1 3.5 78.1)
LCHlch(84.1 78.2 87.5)
OKLCHoklch(0.864 0.167 89.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdcc2c on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#fdcc2c on black: 13.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green80.0%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta19.4%
Yellow82.6%
Key (black)0.8%

Color previews

#fdcc2c text on a black background

contrast 13.85:1

Card sample

#fdcc2c text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcc2c in the Color Lab