Skip to content

#ccc464

a balanced, vivid yellow · cool · closest name: khaki

RGB
204, 196, 100
HSL
55°, 51%, 60%
CMYK
0, 4, 51, 20
Luminance
0.5324

Every format

HEX#ccc464
RGBrgb(204, 196, 100)
HSLhsl(55, 51%, 60%)
CMYKcmyk(0%, 4%, 51%, 20%)
LABlab(78.0 -10.0 48.7)
LCHlch(78.0 49.7 101.6)
OKLCHoklch(0.807 0.119 104.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc464 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ccc464 on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.9%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta3.9%
Yellow51.0%
Key (black)20.0%

Color previews

#ccc464 text on a black background

contrast 11.65:1

Card sample

#ccc464 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc464

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc464 in the Color Lab