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.
- It can be written in 3-digit shorthand as
#bb2.
Color conversions
| HEX | #BBBB22 |
|---|---|
| Short HEX | #BB2 |
| RGB | rgb(187, 187, 34) |
| RGB percent | rgb(73.3%, 73.3%, 13.3%) |
| HSL | hsl(60, 69%, 43%) |
| HSV / HSB | hsv(60, 82%, 73%) |
| CMYK | cmyk(0%, 0%, 82%, 27%) |
| CIELAB (D65) | lab(73.7 -16.5 69.5) |
| Decimal | 12303138 |
| Binary | 10111011 10111011 00100010 |
HEX BB BB 22 → 187, 187, 34 (each pair is a base-16 number: B×16 + B = 187)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #BBBB22 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 2.05:1 | Fail | Fail | Fail | Fail |
| Black text | 10.24:1 | Pass | Pass | Pass | Pass |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| darkkhaki | #bdb76b | 8.9 |
| yellowgreen | #9acd32 | 10.7 |
| khaki | #f0e68c | 13.3 |
| gold | #ffd700 | 13.4 |
Nearby colors
#ccbb22less red
#aabb22more green
#bbcc22less green
#bbaa22more blue
#bbbb33less blue
#bbbb11lighter
#cccc33darker
#aaaa11
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; }