Skip to content

#fccc32

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

RGB
252, 204, 50
HSL
46°, 97%, 59%
CMYK
0, 19, 80, 1
Luminance
0.6411

Every format

HEX#fccc32
RGBrgb(252, 204, 50)
HSLhsl(46, 97%, 59%)
CMYKcmyk(0%, 19%, 80%, 1%)
LABlab(84.0 3.2 76.3)
LCHlch(84.0 76.3 87.6)
OKLCHoklch(0.864 0.164 90.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green80.0%
Blue19.6%

CMYK percentages

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

Color previews

#fccc32 text on a black background

contrast 13.82:1

Card sample

#fccc32 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccc32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccc32 in the Color Lab