#CCCC66 color

#CCCC66 is rgb(204, 204, 102) in RGB and hsl(60, 50%, 60%) in HSL. The closest CSS named color is darkkhaki (#bdb76b, ΔE 6.4). Use black text on it (contrast 12.40:1).

#CCCC66yellow
HEX#CCCC66
Short HEX#CC6
RGBrgb(204, 204, 102)
RGB percentrgb(80%, 80%, 40%)
HSLhsl(60, 50%, 60%)
HSV / HSBhsv(60, 50%, 80%)
CMYKcmyk(0%, 0%, 50%, 20%)

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

About #CCCC66

#CCCC66 is a light, 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 102 (40%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#CCCC66
Short HEX#CC6
RGBrgb(204, 204, 102)
RGB percentrgb(80%, 80%, 40%)
HSLhsl(60, 50%, 60%)
HSV / HSBhsv(60, 50%, 80%)
CMYKcmyk(0%, 0%, 50%, 20%)
CIELAB (D65)lab(80.2 -13.9 50.3)
Decimal13421670
Binary11001100 11001100 01100110

HEX CC CC 66 → 204, 204, 102 (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 #CCCC66

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CCCC66RatioAA normalAA largeAAA normalAAA large
White text1.69:1FailFailFailFail
Black text12.40:1PassPassPassPass
White text on #CCCC66
Black text on #CCCC66
#CCCC66 text on white
#CCCC66 text on black

Relative luminance is 0.5698 (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
#dac55d

Deuteranopia
#dbc96b

Tritanopia
#d8c1b5

Achromatopsia
#c7c7c7

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5). 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#bdb76b6.4
khaki#f0e68c7.3
palegoldenrod#eee8aa10.1
yellowgreen#9acd3210.7

Nearby colors

CSS

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

Frequently asked questions

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