#AABBAA color
#AABBAA is a light grayish green colour. It is rgb(170, 187, 170) in RGB and hsl(120, 11%, 70%) in HSL. Text in black reads better on it: the contrast is 10.40:1 against black and 2.02: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{#AABBAA}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{BB}_{16}=187,\ B=\mathrm{AA}_{16}=170 - 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.
120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#BBAABB} - 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{#AABBAA} = \mathrm{rgb}(170, 187, 170) \]
\[ \mathrm{#AABBAA}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{BB}_{16}=187,\ B=\mathrm{AA}_{16}=170 \]
\[ H=120^\circ,\quad S=11\%,\quad L=70\% \]
\[ 120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#BBAABB} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.02:1\ \text{(on white)} \]#AABBAA in every colour format
| Format | Value |
|---|---|
| HEX | #AABBAA |
| RGB | rgb(170, 187, 170) |
| RGB (percent) | rgb(66.7%, 73.3%, 66.7%) |
| HSL | hsl(120, 11%, 70%) |
| HSV / HSB | hsv(120, 9%, 73%) |
| CMYK | cmyk(9%, 0%, 9%, 27%) |
| Decimal | 11189162 |
| Description | light grayish green |
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.02:1 | fail | fail | fail | fail |
| Black text | 10.40:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1C1F1C #393E39 #555E55 #717D71 #8E9C8E |
| This colour | #AABBAA |
| Tints (mixed with white) | #B8C6B8 #C6D2C6 #D5DDD5 #E3E8E3 #F1F4F1 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #BCB8A9 | 8 |
| Deuteranopia | #B9B6AB | 8 |
| Tritanopia | #A9BAB6 | 7 |
| Grayscale | #B6B6B6 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Silver | #C0C0C0 |
| Dark gray | #A9A9A9 |
| Light gray | #D3D3D3 |
| Gainsboro | #DCDCDC |
Questions
What is the RGB value of #AABBAA?
rgb(170, 187, 170): red 170, green 187, blue 170.
What is the HSL value of #AABBAA?
hsl(120, 11%, 70%): a hue of 120°, 11% saturation and 70% lightness.
What is the complementary colour of #AABBAA?
#BBAABB, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #554455.
Should I use white or black text on #AABBAA?
Black. White gives 2.02:1 and black 10.40:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #AABBAA?
cmyk(9%, 0%, 9%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #AABBAA?
Silver (#C0C0C0).