Skip to content

#ccbb55

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

RGB
204, 187, 85
HSL
51°, 54%, 57%
CMYK
0, 8, 58, 20
Luminance
0.4903

Every format

HEX#ccbb55
RGBrgb(204, 187, 85)
HSLhsl(51, 54%, 57%)
CMYKcmyk(0%, 8%, 58%, 20%)
LABlab(75.5 -6.6 52.8)
LCHlch(75.5 53.2 97.1)
OKLCHoklch(0.786 0.124 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbb55 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ccbb55 on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green73.3%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta8.3%
Yellow58.3%
Key (black)20.0%

Color previews

#ccbb55 text on a black background

contrast 10.81:1

Card sample

#ccbb55 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbb55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbb55 in the Color Lab