WordGPT

Forest green color (#228B22)

#228B22 (Forest green) is a dark green colour. It is rgb(34, 139, 34) in RGB and hsl(120, 61%, 34%) in HSL. Text in black reads better on it: the contrast is 4.78:1 against black and 4.39:1 against white.

#228B22
Forest green: #228B22
Complementary#228B22#8B228BAnalogous#568B22#228B22#228B56Triadic#228B22#22228B#8B2222Tetradic (square)#228B22#22568B#8B228B#8B5622Split complementary#228B22#56228B#8B2256
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0617060b2e0b114611175d171c741c228b22479e476cb26c91c591b5d8b5daecda
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{#228B22}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{8B}_{16}=139,\ 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=61%,L=34%H=120^\circ,\quad S=61\%,\quad L=34\%
  3. 3

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

    120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#8B228B}
  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=4.39:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.39:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#228B22} = \mathrm{rgb}(34, 139, 34) \]
\[ \mathrm{#228B22}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{8B}_{16}=139,\ B=\mathrm{22}_{16}=34 \]
\[ H=120^\circ,\quad S=61\%,\quad L=34\% \]
\[ 120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#8B228B} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.39:1\ \text{(on white)} \]

Forest green in every colour format

FormatValue
HEX#228B22
RGBrgb(34, 139, 34)
RGB (percent)rgb(13.3%, 54.5%, 13.3%)
HSLhsl(120, 61%, 34%)
HSV / HSBhsv(120, 76%, 55%)
CMYKcmyk(76%, 0%, 76%, 45%)
Decimal2263842
Descriptiondark green
CSS nameforestgreen

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text4.39:1failpassfailfail
Black text4.78:1passpassfailpass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#061706 #0B2E0B #114611 #175D17 #1C741C
This colour#228B22
Tints (mixed with white)#479E47 #6CB26C #91C591 #B5D8B5 #DAECDA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#8E7D0E46
Deuteranopia#82752D46
Tritanopia#00877747
Grayscale#787878-

Nearest named colours

NameHex
Green#008000
Dark green#006400
Olive drab#6B8E23
Medium sea green#3CB371

Questions

What is the RGB value of #228B22?

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

What is the HSL value of #228B22?

hsl(120, 61%, 34%): a hue of 120°, 61% saturation and 34% lightness.

What is the complementary colour of #228B22?

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

Should I use white or black text on #228B22?

Black. White gives 4.39:1 and black 4.78:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #228B22?

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

Is #228B22 a named colour?

Yes: it is the CSS colour name "forestgreen".

Matching colours

A little darker, a little lighter

Make a palette

    Forest green (#228B22): color code, RGB, HSL, shades and palettes | WordGPT