#BBAA11 color

#BBAA11 is rgb(187, 170, 17) in RGB and hsl(54, 83%, 40%) in HSL. The closest CSS named color is darkkhaki (#bdb76b, ΔE 9.7). Use black text on it (contrast 8.87:1).

#BBAA11yellow
HEX#BBAA11
Short HEX#BA1
RGBrgb(187, 170, 17)
RGB percentrgb(73.3%, 66.7%, 6.7%)
HSLhsl(54, 83%, 40%)
HSV / HSBhsv(54, 91%, 73%)
CMYKcmyk(0%, 9%, 91%, 27%)

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

About #BBAA11

#BBAA11 is a medium-dark, vivid yellow with a hue angle of 54°. 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 17 (7%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#BBAA11
Short HEX#BA1
RGBrgb(187, 170, 17)
RGB percentrgb(73.3%, 66.7%, 6.7%)
HSLhsl(54, 83%, 40%)
HSV / HSBhsv(54, 91%, 73%)
CMYKcmyk(0%, 9%, 91%, 27%)
CIELAB (D65)lab(69 -8.1 69.3)
Decimal12298769
Binary10111011 10101010 00010001

HEX BB AA 11 → 187, 170, 17 (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 #BBAA11

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #BBAA11RatioAA normalAA largeAAA normalAAA large
White text2.37:1FailFailFailFail
Black text8.87:1PassPassPassPass
White text on #BBAA11
Black text on #BBAA11
#BBAA11 text on white
#BBAA11 text on black

Relative luminance is 0.3935 (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
#bba400

Deuteranopia
#c0ab23

Tritanopia
#ca9d91

Achromatopsia
#a8a8a8

People with red–green color blindness see this color almost unchanged (ΔE 1.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
darkkhaki#bdb76b9.7
goldenrod#daa52010.2
gold#ffd70013.9
darkgoldenrod#b8860b14

Nearby colors

CSS

.element {
  color: #bbaa11;
  background-color: rgb(187, 170, 17);
  border: 1px solid hsl(54, 83%, 40%);
  box-shadow: 0 2px 8px rgb(187 170 17 / 50%);
}
:root { --brand: #bbaa11; }

Frequently asked questions

What color is #BBAA11?
A medium-dark vivid yellow in the yellow family. Closest CSS name: darkkhaki.
What is #BBAA11 in RGB?
rgb(187, 170, 17): red 187, green 170, blue 17.
What is the complementary color of #BBAA11?
#1122BB, found by rotating the hue 180°.