Skip to content

#fccc60

a light, electric yellow · warm · closest name: khaki

RGB
252, 204, 96
HSL
42°, 96%, 68%
CMYK
0, 19, 62, 1
Luminance
0.6473

Every format

HEX#fccc60
RGBrgb(252, 204, 96)
HSLhsl(42, 96%, 68%)
CMYKcmyk(0%, 19%, 62%, 1%)
LABlab(84.3 5.4 59.0)
LCHlch(84.3 59.2 84.8)
OKLCHoklch(0.867 0.136 85.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green80.0%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow61.9%
Key (black)1.2%

Color previews

#fccc60 text on a black background

contrast 13.95:1

Card sample

#fccc60 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccc60

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccc60 in the Color Lab