#22AA77 color
#22AA77 is a green colour. It is rgb(34, 170, 119) in RGB and hsl(158, 67%, 40%) in HSL. Text in black reads better on it: the contrast is 7.08:1 against black and 2.96: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{#22AA77}:\quad R=\mathrm{22}_{16}=34,\ 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.
158^\circ + 180^\circ = 338^\circ ;\Rightarrow; \mathrm{#AA2255} - 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{#22AA77} = \mathrm{rgb}(34, 170, 119) \]
\[ \mathrm{#22AA77}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{77}_{16}=119 \]
\[ H=158^\circ,\quad S=67\%,\quad L=40\% \]
\[ 158^\circ + 180^\circ = 338^\circ ;\Rightarrow; \mathrm{#AA2255} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.96:1\ \text{(on white)} \]#22AA77 in every colour format
| Format | Value |
|---|---|
| HEX | #22AA77 |
| RGB | rgb(34, 170, 119) |
| RGB (percent) | rgb(13.3%, 66.7%, 46.7%) |
| HSL | hsl(158, 67%, 40%) |
| HSV / HSB | hsv(158, 80%, 67%) |
| CMYK | cmyk(80%, 0%, 30%, 33%) |
| Decimal | 2271863 |
| Description | 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.96:1 | fail | fail | fail | fail |
| Black text | 7.08:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #061C14 #0B3928 #11553C #17714F #1C8E63 |
| This colour | #22AA77 |
| Tints (mixed with white) | #47B88E #6CC6A4 #91D5BB #B5E3D2 #DAF1E8 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #A79D74 | 45 |
| Deuteranopia | #97917A | 46 |
| Tritanopia | #00AA9C | 22 |
| Grayscale | #969696 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium sea green | #3CB371 |
| Sea green | #2E8B57 |
| Medium aquamarine | #66CDAA |
| Light sea green | #20B2AA |
Questions
What is the RGB value of #22AA77?
rgb(34, 170, 119): red 34, green 170, blue 119.
What is the HSL value of #22AA77?
hsl(158, 67%, 40%): a hue of 158°, 67% saturation and 40% lightness.
What is the complementary colour of #22AA77?
#AA2255, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DD5588.
Should I use white or black text on #22AA77?
Black. White gives 2.96:1 and black 7.08:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #22AA77?
cmyk(80%, 0%, 30%, 33%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #22AA77?
Medium sea green (#3CB371).