#668822 color

#668822 is rgb(102, 136, 34) in RGB and hsl(80, 60%, 33%) in HSL. The closest CSS named color is olivedrab (#6b8e23, ΔE 2.2). Use black text on it (contrast 5.11:1).

#668822yellow-green
HEX#668822
Short HEX#682
RGBrgb(102, 136, 34)
RGB percentrgb(40%, 53.3%, 13.3%)
HSLhsl(80, 60%, 33%)
HSV / HSBhsv(80, 75%, 53%)
CMYKcmyk(25%, 0%, 75%, 47%)

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

About #668822

#668822 is a medium-dark, saturated yellow-green with a hue angle of 80°. It belongs to the green family and reads as a balanced color. In the RGB model green is the strongest channel at 136 (53%) and blue the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#668822
Short HEX#682
RGBrgb(102, 136, 34)
RGB percentrgb(40%, 53.3%, 13.3%)
HSLhsl(80, 60%, 33%)
HSV / HSBhsv(80, 75%, 53%)
CMYKcmyk(25%, 0%, 75%, 47%)
CIELAB (D65)lab(52.5 -27.4 47.8)
Decimal6719522
Binary01100110 10001000 00100010

HEX 66 88 22 → 102, 136, 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 #668822

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #668822RatioAA normalAA largeAAA normalAAA large
White text4.11:1FailPassFailFail
Black text5.11:1PassPassFailPass
White text on #668822
Black text on #668822
#668822 text on white
#668822 text on black

Relative luminance is 0.2055 (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
#8f7e0e

Deuteranopia
#8b7d2b

Tritanopia
#6a8174

Achromatopsia
#7d7d7d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 13). 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
olivedrab#6b8e232.2
olive#8080009.5
forestgreen#228b229.5
green#00800011.1

Nearby colors

CSS

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

Frequently asked questions

What color is #668822?
A medium-dark saturated yellow-green in the green family. Closest CSS name: olivedrab.
What is #668822 in RGB?
rgb(102, 136, 34): red 102, green 136, blue 34.
What is the complementary color of #668822?
#442288, found by rotating the hue 180°.