#BBAA77 color
#BBAA77 is a muted yellow colour. It is rgb(187, 170, 119) in RGB and hsl(45, 33%, 60%) in HSL. Text in black reads better on it: the contrast is 9.13:1 against black and 2.30: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{#BBAA77}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{77}_{16}=119 - 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.
45^\circ + 180^\circ = 225^\circ ;\Rightarrow; \mathrm{#7788BB} - 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{#BBAA77} = \mathrm{rgb}(187, 170, 119) \]
\[ \mathrm{#BBAA77}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{77}_{16}=119 \]
\[ H=45^\circ,\quad S=33\%,\quad L=60\% \]
\[ 45^\circ + 180^\circ = 225^\circ ;\Rightarrow; \mathrm{#7788BB} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.30:1\ \text{(on white)} \]#BBAA77 in every colour format
| Format | Value |
|---|---|
| HEX | #BBAA77 |
| RGB | rgb(187, 170, 119) |
| RGB (percent) | rgb(73.3%, 66.7%, 46.7%) |
| HSL | hsl(45, 33%, 60%) |
| HSV / HSB | hsv(45, 36%, 73%) |
| CMYK | cmyk(0%, 9%, 36%, 27%) |
| Decimal | 12298871 |
| 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.30:1 | fail | fail | fail | fail |
| Black text | 9.13:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F1C14 #3E3928 #5E553C #7D714F #9C8E63 |
| This colour | #BBAA77 |
| Tints (mixed with white) | #C6B88E #D2C6A4 #DDD5BB #E8E3D2 #F4F1E8 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #B5A873 | 2 |
| Deuteranopia | #B9AD79 | 2 |
| Tritanopia | #C5A29D | 25 |
| Grayscale | #ABABAB | - |
Nearest named colours
| Name | Hex |
|---|---|
| Tan | #D2B48C |
| Burlywood | #DEB887 |
| Dark khaki | #BDB76B |
| Wheat | #F5DEB3 |
Questions
What is the RGB value of #BBAA77?
rgb(187, 170, 119): red 187, green 170, blue 119.
What is the HSL value of #BBAA77?
hsl(45, 33%, 60%): a hue of 45°, 33% saturation and 60% lightness.
What is the complementary colour of #BBAA77?
#7788BB, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #445588.
Should I use white or black text on #BBAA77?
Black. White gives 2.30:1 and black 9.13:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #BBAA77?
cmyk(0%, 9%, 36%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #BBAA77?
Tan (#D2B48C).