#888822 color

#888822 is rgb(136, 136, 34) in RGB and hsl(60, 60%, 33%) in HSL. The closest CSS named color is olive (#808000, ΔE 3.5). Use black text on it (contrast 5.59:1).

#888822yellow
HEX#888822
Short HEX#882
RGBrgb(136, 136, 34)
RGB percentrgb(53.3%, 53.3%, 13.3%)
HSLhsl(60, 60%, 33%)
HSV / HSBhsv(60, 75%, 53%)
CMYKcmyk(0%, 0%, 75%, 47%)

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

About #888822

#888822 is a medium-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 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#888822
Short HEX#882
RGBrgb(136, 136, 34)
RGB percentrgb(53.3%, 53.3%, 13.3%)
HSLhsl(60, 60%, 33%)
HSV / HSBhsv(60, 75%, 53%)
CMYKcmyk(0%, 0%, 75%, 47%)
CIELAB (D65)lab(55 -12.5 51.2)
Decimal8947746
Binary10001000 10001000 00100010

HEX 88 88 22 → 136, 136, 34 (each pair is a base-16 number: 8×16 + 8 = 136)

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #888822RatioAA normalAA largeAAA normalAAA large
White text3.76:1FailPassFailFail
Black text5.59:1PassPassFailPass
White text on #888822
Black text on #888822
#888822 text on white
#888822 text on black

Relative luminance is 0.2296 (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
#93820d

Deuteranopia
#95852a

Tritanopia
#927f74

Achromatopsia
#848484

People with red–green color blindness see this color almost unchanged (ΔE 5 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
olive#8080003.5
olivedrab#6b8e238.7
darkgoldenrod#b8860b15.5
darkkhaki#bdb76b15.8

Nearby colors

CSS

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

Frequently asked questions

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