#BBBB22 color

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

#BBBB22yellow
HEX#BBBB22
Short HEX#BB2
RGBrgb(187, 187, 34)
RGB percentrgb(73.3%, 73.3%, 13.3%)
HSLhsl(60, 69%, 43%)
HSV / HSBhsv(60, 82%, 73%)
CMYKcmyk(0%, 0%, 82%, 27%)

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

About #BBBB22

#BBBB22 is a medium, 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 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#BBBB22
Short HEX#BB2
RGBrgb(187, 187, 34)
RGB percentrgb(73.3%, 73.3%, 13.3%)
HSLhsl(60, 69%, 43%)
HSV / HSBhsv(60, 82%, 73%)
CMYKcmyk(0%, 0%, 82%, 27%)
CIELAB (D65)lab(73.7 -16.5 69.5)
Decimal12303138
Binary10111011 10111011 00100010

HEX BB BB 22 → 187, 187, 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 #BBBB22

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #BBBB22RatioAA normalAA largeAAA normalAAA large
White text2.05:1FailFailFailFail
Black text10.24:1PassPassPassPass
White text on #BBBB22
Black text on #BBBB22
#BBBB22 text on white
#BBBB22 text on black

Relative luminance is 0.4622 (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
#cbb300

Deuteranopia
#ccb731

Tritanopia
#c9aea0

Achromatopsia
#b5b5b5

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.9
yellowgreen#9acd3210.7
khaki#f0e68c13.3
gold#ffd70013.4

Nearby colors

CSS

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

Frequently asked questions

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