#227700 color
#227700 is a dark green colour. It is rgb(34, 119, 0) in RGB and hsl(103, 100%, 23%) in HSL. Text in white reads better on it: the contrast is 5.67:1 against white and 3.71:1 against black.
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{#227700}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{00}_{16}=0 - 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.
103^\circ + 180^\circ = 283^\circ ;\Rightarrow; \mathrm{#550077} - 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{#227700} = \mathrm{rgb}(34, 119, 0) \]
\[ \mathrm{#227700}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{00}_{16}=0 \]
\[ H=103^\circ,\quad S=100\%,\quad L=23\% \]
\[ 103^\circ + 180^\circ = 283^\circ ;\Rightarrow; \mathrm{#550077} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.67:1\ \text{(on white)} \]#227700 in every colour format
| Format | Value |
|---|---|
| HEX | #227700 |
| RGB | rgb(34, 119, 0) |
| RGB (percent) | rgb(13.3%, 46.7%, 0.0%) |
| HSL | hsl(103, 100%, 23%) |
| HSV / HSB | hsv(103, 100%, 47%) |
| CMYK | cmyk(71%, 0%, 100%, 53%) |
| Decimal | 2258688 |
| Description | dark 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 | 5.67:1 | pass | pass | fail | pass |
| Black text | 3.71:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #061400 #0B2800 #113C00 #174F00 #1C6300 |
| This colour | #227700 |
| Tints (mixed with white) | #478E2B #6CA455 #91BB80 #B5D2AA #DAE8D5 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #7B6B00 | 41 |
| Deuteranopia | #716415 | 41 |
| Tritanopia | #127364 | 50 |
| Grayscale | #676767 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Green | #008000 |
| Forest green | #228B22 |
| Dark green | #006400 |
| Olive drab | #6B8E23 |
Questions
What is the RGB value of #227700?
rgb(34, 119, 0): red 34, green 119, blue 0.
What is the HSL value of #227700?
hsl(103, 100%, 23%): a hue of 103°, 100% saturation and 23% lightness.
What is the complementary colour of #227700?
#550077, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DD88FF.
Should I use white or black text on #227700?
White. White gives 5.67:1 and black 3.71:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #227700?
cmyk(71%, 0%, 100%, 53%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #227700?
Green (#008000).