WordGPT

#227722 color

#227722 is a dark green colour. It is rgb(34, 119, 34) in RGB and hsl(120, 56%, 30%) in HSL. Text in white reads better on it: the contrast is 5.63:1 against white and 3.73:1 against black.

#227722
#227722: #227722
Complementary#227722#772277Analogous#4D7722#227722#22774DTriadic#227722#222277#772222Tetradic (square)#227722#224D77#772277#774D22Split complementary#227722#4D2277#77224D
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0614060b280b113c11174f171c631c227722478e476ca46c91bb91b5d2b5dae8da
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#227722}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{22}_{16}=34
  2. 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.

    H=120∘,S=56%,L=30%H=120^\circ,\quad S=56\%,\quad L=30\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#772277}
  4. 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).

    contrast=L1+0.05L2+0.05=5.63:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.63:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#227722} = \mathrm{rgb}(34, 119, 34) \]
\[ \mathrm{#227722}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{22}_{16}=34 \]
\[ H=120^\circ,\quad S=56\%,\quad L=30\% \]
\[ 120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#772277} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.63:1\ \text{(on white)} \]

#227722 in every colour format

FormatValue
HEX#227722
RGBrgb(34, 119, 34)
RGB (percent)rgb(13.3%, 46.7%, 13.3%)
HSLhsl(120, 56%, 30%)
HSV / HSBhsv(120, 71%, 47%)
CMYKcmyk(71%, 0%, 71%, 53%)
Decimal2258722
Descriptiondark green

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text5.63:1passpassfailpass
Black text3.73:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#061406 #0B280B #113C11 #174F17 #1C631C
This colour#227722
Tints (mixed with white)#478E47 #6CA46C #91BB91 #B5D2B5 #DAE8DA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#7A6B1639
Deuteranopia#70652A39
Tritanopia#0A736640
Grayscale#676767-

Nearest named colours

NameHex
Dark green#006400
Forest green#228B22
Green#008000
Sea green#2E8B57

Questions

What is the RGB value of #227722?

rgb(34, 119, 34): red 34, green 119, blue 34.

What is the HSL value of #227722?

hsl(120, 56%, 30%): a hue of 120°, 56% saturation and 30% lightness.

What is the complementary colour of #227722?

#772277, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DD88DD.

Should I use white or black text on #227722?

White. White gives 5.63:1 and black 3.73:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #227722?

cmyk(71%, 0%, 71%, 53%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #227722?

Dark green (#006400).

Matching colours

A little darker, a little lighter

Make a palette

    #227722 color: RGB, HSL, CMYK, shades and matching palettes | WordGPT