#AAAA22 color

#AAAA22 is rgb(170, 170, 34) in RGB and hsl(60, 67%, 40%) in HSL. The closest CSS named color is darkkhaki (#bdb76b, ΔE 8.7). Use black text on it (contrast 8.48:1).

#AAAA22yellow
HEX#AAAA22
Short HEX#AA2
RGBrgb(170, 170, 34)
RGB percentrgb(66.7%, 66.7%, 13.3%)
HSLhsl(60, 67%, 40%)
HSV / HSBhsv(60, 80%, 67%)
CMYKcmyk(0%, 0%, 80%, 33%)

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

About #AAAA22

#AAAA22 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 170 (67%) and blue the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#AAAA22
Short HEX#AA2
RGBrgb(170, 170, 34)
RGB percentrgb(66.7%, 66.7%, 13.3%)
HSLhsl(60, 67%, 40%)
HSV / HSBhsv(60, 80%, 67%)
CMYKcmyk(0%, 0%, 80%, 33%)
CIELAB (D65)lab(67.6 -15.2 63.7)
Decimal11184674
Binary10101010 10101010 00100010

HEX AA AA 22 → 170, 170, 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 #AAAA22

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AAAA22RatioAA normalAA largeAAA normalAAA large
White text2.48:1FailFailFailFail
Black text8.48:1PassPassPassPass
White text on #AAAA22
Black text on #AAAA22
#AAAA22 text on white
#AAAA22 text on black

Relative luminance is 0.3741 (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
#b8a200

Deuteranopia
#baa62f

Tritanopia
#b79f91

Achromatopsia
#a5a5a5

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.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
darkkhaki#bdb76b8.7
yellowgreen#9acd3212.5
olive#80800014
olivedrab#6b8e2314.7

Nearby colors

CSS

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

Frequently asked questions

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