Skip to content

#fccc49

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

RGB
252, 204, 73
HSL
44°, 97%, 64%
CMYK
0, 19, 71, 1
Luminance
0.6436

Every format

HEX#fccc49
RGBrgb(252, 204, 73)
HSLhsl(44, 97%, 64%)
CMYKcmyk(0%, 19%, 71%, 1%)
LABlab(84.2 4.1 68.5)
LCHlch(84.2 68.6 86.6)
OKLCHoklch(0.865 0.152 88.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green80.0%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow71.0%
Key (black)1.2%

Color previews

#fccc49 text on a black background

contrast 13.87:1

Card sample

#fccc49 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccc49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccc49 in the Color Lab