#AAAA77 color
#AAAA77 is a grayish yellow colour. It is rgb(170, 170, 119) in RGB and hsl(60, 23%, 57%) in HSL. Text in black reads better on it: the contrast is 8.73:1 against black and 2.41: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{#AAAA77}:\quad R=\mathrm{AA}_{16}=170,\ 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.
60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#7777AA} - 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{#AAAA77} = \mathrm{rgb}(170, 170, 119) \]
\[ \mathrm{#AAAA77}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{77}_{16}=119 \]
\[ H=60^\circ,\quad S=23\%,\quad L=57\% \]
\[ 60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#7777AA} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.41:1\ \text{(on white)} \]#AAAA77 in every colour format
| Format | Value |
|---|---|
| HEX | #AAAA77 |
| RGB | rgb(170, 170, 119) |
| RGB (percent) | rgb(66.7%, 66.7%, 46.7%) |
| HSL | hsl(60, 23%, 57%) |
| HSV / HSB | hsv(60, 30%, 67%) |
| CMYK | cmyk(0%, 0%, 30%, 33%) |
| Decimal | 11184759 |
| 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.41:1 | fail | fail | fail | fail |
| Black text | 8.73:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1C1C14 #393928 #55553C #71714F #8E8E63 |
| This colour | #AAAA77 |
| Tints (mixed with white) | #B8B88E #C6C6A4 #D5D5BB #E3E3D2 #F1F1E8 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #B2A674 | 5 |
| Deuteranopia | #B3A879 | 5 |
| Tritanopia | #B1A49D | 24 |
| Grayscale | #A7A7A7 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark khaki | #BDB76B |
| Tan | #D2B48C |
| Burlywood | #DEB887 |
| Dark sea green | #8FBC8F |
Questions
What is the RGB value of #AAAA77?
rgb(170, 170, 119): red 170, green 170, blue 119.
What is the HSL value of #AAAA77?
hsl(60, 23%, 57%): a hue of 60°, 23% saturation and 57% lightness.
What is the complementary colour of #AAAA77?
#7777AA, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #555588.
Should I use white or black text on #AAAA77?
Black. White gives 2.41:1 and black 8.73:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #AAAA77?
cmyk(0%, 0%, 30%, 33%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #AAAA77?
Dark khaki (#BDB76B).