Skip to content

#ccc955

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

RGB
204, 201, 85
HSL
59°, 54%, 57%
CMYK
0, 2, 58, 20
Luminance
0.5527

Every format

HEX#ccc955
RGBrgb(204, 201, 85)
HSLhsl(59, 54%, 57%)
CMYKcmyk(0%, 2%, 58%, 20%)
LABlab(79.2 -13.7 56.9)
LCHlch(79.2 58.6 103.6)
OKLCHoklch(0.816 0.138 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc955 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#ccc955 on black: 12.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow58.3%
Key (black)20.0%

Color previews

#ccc955 text on a black background

contrast 12.05:1

Card sample

#ccc955 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 201, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 201, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc955;
background: linear-gradient(135deg, #ccc955, #80CC55);

Monochromatic scale

Palettes built from #ccc955

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc955 in the Color Lab