#BBAA55 color
#BBAA55 is a muted yellow colour. It is rgb(187, 170, 85) in RGB and hsl(50, 43%, 53%) in HSL. Text in black reads better on it: the contrast is 8.99:1 against black and 2.33:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#BBAA55}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{55}_{16}=85 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
50^\circ + 180^\circ = 230^\circ ;\Rightarrow; \mathrm{#5566BB} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#BBAA55} = \mathrm{rgb}(187, 170, 85) \]
\[ \mathrm{#BBAA55}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{55}_{16}=85 \]
\[ H=50^\circ,\quad S=43\%,\quad L=53\% \]
\[ 50^\circ + 180^\circ = 230^\circ ;\Rightarrow; \mathrm{#5566BB} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.33:1\ \text{(on white)} \]#BBAA55 in every colour format
| Format | Value |
|---|---|
| HEX | #BBAA55 |
| RGB | rgb(187, 170, 85) |
| RGB (percent) | rgb(73.3%, 66.7%, 33.3%) |
| HSL | hsl(50, 43%, 53%) |
| HSV / HSB | hsv(50, 55%, 73%) |
| CMYK | cmyk(0%, 9%, 55%, 27%) |
| Decimal | 12298837 |
| Description | muted yellow |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 2.33:1 | fail | fail | fail | fail |
| Black text | 8.99:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F1C0E #3E391C #5E552B #7D7139 #9C8E47 |
| This colour | #BBAA55 |
| Tints (mixed with white) | #C6B871 #D2C68E #DDD5AA #E8E3C6 #F4F1E3 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #B8A64D | 3 |
| Deuteranopia | #BDAC59 | 1 |
| Tritanopia | #C89F97 | 40 |
| Grayscale | #AAAAAA | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark khaki | #BDB76B |
| Burlywood | #DEB887 |
| Khaki | #F0E68C |
| Olive | #808000 |
Questions
What is the RGB value of #BBAA55?
rgb(187, 170, 85): red 187, green 170, blue 85.
What is the HSL value of #BBAA55?
hsl(50, 43%, 53%): a hue of 50°, 43% saturation and 53% lightness.
What is the complementary colour of #BBAA55?
#5566BB, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #4455AA.
Should I use white or black text on #BBAA55?
Black. White gives 2.33:1 and black 8.99:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #BBAA55?
cmyk(0%, 9%, 55%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #BBAA55?
Dark khaki (#BDB76B).