#AABB22 color

#AABB22 is rgb(170, 187, 34) in RGB and hsl(67, 69%, 43%) in HSL. The closest CSS named color is yellowgreen (#9acd32, ΔE 7.2). Use black text on it (contrast 9.84:1).

#AABB22yellow
HEX#AABB22
Short HEX#AB2
RGBrgb(170, 187, 34)
RGB percentrgb(66.7%, 73.3%, 13.3%)
HSLhsl(67, 69%, 43%)
HSV / HSBhsv(67, 82%, 73%)
CMYKcmyk(9%, 0%, 82%, 27%)

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

About #AABB22

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

Color conversions

HEX#AABB22
Short HEX#AB2
RGBrgb(170, 187, 34)
RGB percentrgb(66.7%, 73.3%, 13.3%)
HSLhsl(67, 69%, 43%)
HSV / HSBhsv(67, 82%, 73%)
CMYKcmyk(9%, 0%, 82%, 27%)
CIELAB (D65)lab(72.4 -23.7 67.8)
Decimal11189026
Binary10101010 10111011 00100010

HEX AA BB 22 → 170, 187, 34 (each pair is a base-16 number: A×16 + A = 170)

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AABB22RatioAA normalAA largeAAA normalAAA large
White text2.13:1FailFailFailFail
Black text9.84:1PassPassPassPass
White text on #AABB22
Black text on #AABB22
#AABB22 text on white
#AABB22 text on black

Relative luminance is 0.4420 (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
#c9b100

Deuteranopia
#c7b232

Tritanopia
#b5b0a0

Achromatopsia
#b1b1b1

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 9.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
yellowgreen#9acd327.2
darkkhaki#bdb76b9.7
khaki#f0e68c14.9
olivedrab#6b8e2316.4

Nearby colors

CSS

.element {
  color: #aabb22;
  background-color: rgb(170, 187, 34);
  border: 1px solid hsl(67, 69%, 43%);
  box-shadow: 0 2px 8px rgb(170 187 34 / 50%);
}
:root { --brand: #aabb22; }

Frequently asked questions

What color is #AABB22?
A medium saturated yellow in the green family. Closest CSS name: yellowgreen.
What is #AABB22 in RGB?
rgb(170, 187, 34): red 170, green 187, blue 34.
What is the complementary color of #AABB22?
#3322BB, found by rotating the hue 180°.