#CCCC55 color

#CCCC55 is rgb(204, 204, 85) in RGB and hsl(60, 54%, 57%) in HSL. The closest CSS named color is darkkhaki (#bdb76b, ΔE 7.7). Use black text on it (contrast 12.34:1).

#CCCC55yellow
HEX#CCCC55
Short HEX#CC5
RGBrgb(204, 204, 85)
RGB percentrgb(80%, 80%, 33.3%)
HSLhsl(60, 54%, 57%)
HSV / HSBhsv(60, 58%, 80%)
CMYKcmyk(0%, 0%, 58%, 20%)

Edit in the color converter → · Check contrast → · Shades →

About #CCCC55

#CCCC55 is a medium, saturated yellow with a hue angle of 60°. It belongs to the yellow family and reads as a warm color. In the RGB model red is the strongest channel at 204 (80%) and blue the weakest at 85 (33%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#CCCC55
Short HEX#CC5
RGBrgb(204, 204, 85)
RGB percentrgb(80%, 80%, 33.3%)
HSLhsl(60, 54%, 57%)
HSV / HSBhsv(60, 58%, 80%)
CMYKcmyk(0%, 0%, 58%, 20%)
CIELAB (D65)lab(80 -15.2 57.8)
Decimal13421653
Binary11001100 11001100 01010101

HEX CC CC 55 → 204, 204, 85 (each pair is a base-16 number: C×16 + C = 204)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #CCCC55

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CCCC55RatioAA normalAA largeAAA normalAAA large
White text1.70:1FailFailFailFail
Black text12.34:1PassPassPassPass
White text on #CCCC55
Black text on #CCCC55
#CCCC55 text on white
#CCCC55 text on black

Relative luminance is 0.5668 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#dbc448

Deuteranopia
#ddc85c

Tritanopia
#d9c0b2

Achromatopsia
#c6c6c6

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.7). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkkhaki#bdb76b7.7
khaki#f0e68c8.2
yellowgreen#9acd3210.2
palegoldenrod#eee8aa11.7

Nearby colors

CSS

.element {
  color: #cccc55;
  background-color: rgb(204, 204, 85);
  border: 1px solid hsl(60, 54%, 57%);
  box-shadow: 0 2px 8px rgb(204 204 85 / 50%);
}
:root { --brand: #cccc55; }

Frequently asked questions

What color is #CCCC55?
A medium saturated yellow in the yellow family. Closest CSS name: darkkhaki.
What is #CCCC55 in RGB?
rgb(204, 204, 85): red 204, green 204, blue 85.
What is the complementary color of #CCCC55?
#5555CC, found by rotating the hue 180°.