Skip to content

#fccc41

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

RGB
252, 204, 65
HSL
45°, 97%, 62%
CMYK
0, 19, 74, 1
Luminance
0.6426

Every format

HEX#fccc41
RGBrgb(252, 204, 65)
HSLhsl(45, 97%, 62%)
CMYKcmyk(0%, 19%, 74%, 1%)
LABlab(84.1 3.8 71.4)
LCHlch(84.1 71.5 87.0)
OKLCHoklch(0.864 0.157 88.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green80.0%
Blue25.5%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow74.2%
Key (black)1.2%

Color previews

#fccc41 text on a black background

contrast 13.85:1

Card sample

#fccc41 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccc41

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccc41 in the Color Lab