Skip to content

#fccc4d

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

RGB
252, 204, 77
HSL
44°, 97%, 65%
CMYK
0, 19, 69, 1
Luminance
0.6442

Every format

HEX#fccc4d
RGBrgb(252, 204, 77)
HSLhsl(44, 97%, 65%)
CMYKcmyk(0%, 19%, 69%, 1%)
LABlab(84.2 4.3 66.9)
LCHlch(84.2 67.0 86.3)
OKLCHoklch(0.865 0.150 87.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green80.0%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow69.4%
Key (black)1.2%

Color previews

#fccc4d text on a black background

contrast 13.88:1

Card sample

#fccc4d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccc4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccc4d in the Color Lab