Skip to content

#fccd2c

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

RGB
252, 205, 44
HSL
46°, 97%, 58%
CMYK
0, 19, 83, 1
Luminance
0.6454

Every format

HEX#fccd2c
RGBrgb(252, 205, 44)
HSLhsl(46, 97%, 58%)
CMYKcmyk(0%, 19%, 83%, 1%)
LABlab(84.3 2.5 78.2)
LCHlch(84.3 78.2 88.1)
OKLCHoklch(0.865 0.167 90.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green80.4%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta18.7%
Yellow82.5%
Key (black)1.2%

Color previews

#fccd2c text on a black background

contrast 13.91:1

Card sample

#fccd2c text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccd2c in the Color Lab