Skip to content

#fdcc3b

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

RGB
253, 204, 59
HSL
45°, 98%, 61%
CMYK
0, 19, 77, 1
Luminance
0.6438

Every format

HEX#fdcc3b
RGBrgb(253, 204, 59)
HSLhsl(45, 98%, 61%)
CMYKcmyk(0%, 19%, 77%, 1%)
LABlab(84.2 4.0 73.6)
LCHlch(84.2 73.7 86.9)
OKLCHoklch(0.865 0.160 88.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green80.0%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta19.4%
Yellow76.7%
Key (black)0.8%

Color previews

#fdcc3b text on a black background

contrast 13.88:1

Card sample

#fdcc3b text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcc3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcc3b in the Color Lab