#AAAA99 color
#AAAA99 is a grayish yellow colour. It is rgb(170, 170, 153) in RGB and hsl(60, 9%, 63%) in HSL. Text in black reads better on it: the contrast is 8.92:1 against black and 2.35: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{#AAAA99}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{99}_{16}=153 - 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.
60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#9999AA} - 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{#AAAA99} = \mathrm{rgb}(170, 170, 153) \]
\[ \mathrm{#AAAA99}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{99}_{16}=153 \]
\[ H=60^\circ,\quad S=9\%,\quad L=63\% \]
\[ 60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#9999AA} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.35:1\ \text{(on white)} \]#AAAA99 in every colour format
| Format | Value |
|---|---|
| HEX | #AAAA99 |
| RGB | rgb(170, 170, 153) |
| RGB (percent) | rgb(66.7%, 66.7%, 60.0%) |
| HSL | hsl(60, 9%, 63%) |
| HSV / HSB | hsv(60, 10%, 67%) |
| CMYK | cmyk(0%, 0%, 10%, 33%) |
| Decimal | 11184793 |
| Description | grayish 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.35:1 | fail | fail | fail | fail |
| Black text | 8.92:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1C1C19 #393933 #55554D #717166 #8E8E80 |
| This colour | #AAAA99 |
| Tints (mixed with white) | #B8B8AA #C6C6BB #D5D5CC #E3E3DD #F1F1EE |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #ADA898 | 2 |
| Deuteranopia | #AEA99A | 2 |
| Tritanopia | #ADA8A5 | 8 |
| Grayscale | #A9A9A9 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark gray | #A9A9A9 |
| Silver | #C0C0C0 |
| Light gray | #D3D3D3 |
| Gray | #808080 |
Questions
What is the RGB value of #AAAA99?
rgb(170, 170, 153): red 170, green 170, blue 153.
What is the HSL value of #AAAA99?
hsl(60, 9%, 63%): a hue of 60°, 9% saturation and 63% lightness.
What is the complementary colour of #AAAA99?
#9999AA, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #555566.
Should I use white or black text on #AAAA99?
Black. White gives 2.35:1 and black 8.92:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #AAAA99?
cmyk(0%, 0%, 10%, 33%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #AAAA99?
Dark gray (#A9A9A9).