#CCCC33 color

#CCCC33 is rgb(204, 204, 51) in RGB and hsl(60, 60%, 50%) in HSL. The closest CSS named color is khaki (#f0e68c, ΔE 10.2). Use black text on it (contrast 12.25:1).

#CCCC33yellow
HEX#CCCC33
Short HEX#CC3
RGBrgb(204, 204, 51)
RGB percentrgb(80%, 80%, 20%)
HSLhsl(60, 60%, 50%)
HSV / HSBhsv(60, 75%, 80%)
CMYKcmyk(0%, 0%, 75%, 20%)

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

About #CCCC33

#CCCC33 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 51 (20%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#CCCC33
Short HEX#CC3
RGBrgb(204, 204, 51)
RGB percentrgb(80%, 80%, 20%)
HSLhsl(60, 60%, 50%)
HSV / HSBhsv(60, 75%, 80%)
CMYKcmyk(0%, 0%, 75%, 20%)
CIELAB (D65)lab(79.8 -17.1 70.5)
Decimal13421619
Binary11001100 11001100 00110011

HEX CC CC 33 → 204, 204, 51 (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 #CCCC33

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CCCC33RatioAA normalAA largeAAA normalAAA large
White text1.71:1FailFailFailFail
Black text12.25:1PassPassPassPass
White text on #CCCC33
Black text on #CCCC33
#CCCC33 text on white
#CCCC33 text on black

Relative luminance is 0.5626 (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
#ddc30b

Deuteranopia
#dec840

Tritanopia
#dbbfaf

Achromatopsia
#c6c6c6

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.6). 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
khaki#f0e68c10.2
darkkhaki#bdb76b10.2
yellowgreen#9acd3210.6
gold#ffd70011

Nearby colors

CSS

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

Frequently asked questions

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