#666622 color

#666622 is rgb(102, 102, 34) in RGB and hsl(60, 50%, 27%) in HSL. The closest CSS named color is darkolivegreen (#556b2f, ΔE 7.4). Use white text on it (contrast 6.02:1).

#666622yellow
HEX#666622
Short HEX#662
RGBrgb(102, 102, 34)
RGB percentrgb(40%, 40%, 13.3%)
HSLhsl(60, 50%, 27%)
HSV / HSBhsv(60, 67%, 40%)
CMYKcmyk(0%, 0%, 67%, 60%)

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

About #666622

#666622 is a dark, 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 102 (40%) and blue the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#666622
Short HEX#662
RGBrgb(102, 102, 34)
RGB percentrgb(40%, 40%, 13.3%)
HSLhsl(60, 50%, 27%)
HSV / HSBhsv(60, 67%, 40%)
CMYKcmyk(0%, 0%, 67%, 60%)
CIELAB (D65)lab(41.9 -9.6 37.1)
Decimal6710818
Binary01100110 01100110 00100010

HEX 66 66 22 → 102, 102, 34 (each pair is a base-16 number: 6×16 + 6 = 102)

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 #666622

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #666622RatioAA normalAA largeAAA normalAAA large
White text6.02:1PassPassFailPass
Black text3.49:1FailPassFailFail
White text on #666622
Black text on #666622
#666622 text on white
#666622 text on black

Relative luminance is 0.1244 (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
#6e6219

Deuteranopia
#6f6426

Tritanopia
#6d5f58

Achromatopsia
#636363

People with red–green color blindness see this color almost unchanged (ΔE 4 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkolivegreen#556b2f7.4
olive#80800011.6
olivedrab#6b8e2315.8
darkgreen#00640016.8

Nearby colors

CSS

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

Frequently asked questions

What color is #666622?
A dark saturated yellow in the yellow family. Closest CSS name: darkolivegreen.
What is #666622 in RGB?
rgb(102, 102, 34): red 102, green 102, blue 34.
What is the complementary color of #666622?
#222266, found by rotating the hue 180°.