Skip to content

#fccc64

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

RGB
252, 204, 100
HSL
41°, 96%, 69%
CMYK
0, 19, 60, 1
Luminance
0.6480

Every format

HEX#fccc64
RGBrgb(252, 204, 100)
HSLhsl(41, 96%, 69%)
CMYKcmyk(0%, 19%, 60%, 1%)
LABlab(84.4 5.7 57.2)
LCHlch(84.4 57.5 84.4)
OKLCHoklch(0.868 0.133 84.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fccc64 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#fccc64 on black: 13.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green80.0%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow60.3%
Key (black)1.2%

Color previews

#fccc64 text on a black background

contrast 13.96:1

Card sample

#fccc64 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccc64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccc64 in the Color Lab