#BBAA22 color

#BBAA22 is rgb(187, 170, 34) in RGB and hsl(53, 69%, 43%) in HSL. The closest CSS named color is darkkhaki (#bdb76b, ΔE 8.9). Use black text on it (contrast 8.89:1).

#BBAA22yellow
HEX#BBAA22
Short HEX#BA2
RGBrgb(187, 170, 34)
RGB percentrgb(73.3%, 66.7%, 13.3%)
HSLhsl(53, 69%, 43%)
HSV / HSBhsv(53, 82%, 73%)
CMYKcmyk(0%, 9%, 82%, 27%)

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

About #BBAA22

#BBAA22 is a medium, saturated yellow with a hue angle of 53°. It belongs to the yellow family and reads as a warm color. In the RGB model red 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#BBAA22
Short HEX#BA2
RGBrgb(187, 170, 34)
RGB percentrgb(73.3%, 66.7%, 13.3%)
HSLhsl(53, 69%, 43%)
HSV / HSBhsv(53, 82%, 73%)
CMYKcmyk(0%, 9%, 82%, 27%)
CIELAB (D65)lab(69.1 -7.7 65.5)
Decimal12298786
Binary10111011 10101010 00100010

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

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #BBAA22RatioAA normalAA largeAAA normalAAA large
White text2.36:1FailFailFailFail
Black text8.89:1PassPassPassPass
White text on #BBAA22
Black text on #BBAA22
#BBAA22 text on white
#BBAA22 text on black

Relative luminance is 0.3943 (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
#bba500

Deuteranopia
#c0ac2e

Tritanopia
#ca9d91

Achromatopsia
#a9a9a9

People with red–green color blindness see this color almost unchanged (ΔE 1.3 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
darkkhaki#bdb76b8.9
goldenrod#daa52010.1
darkgoldenrod#b8860b13.8
gold#ffd70014.1

Nearby colors

CSS

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

Frequently asked questions

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