WordGPT

#008822 color

#008822 is a dark green colour. It is rgb(0, 136, 34) in RGB and hsl(135, 100%, 27%) in HSL. Text in white reads better on it: the contrast is 4.62:1 against white and 4.54:1 against black.

#008822
#008822: #008822
Complementary#008822#880066Analogous#228800#008822#008866Triadic#008822#220088#882200Tetradic (square)#008822#002288#880066#886600Split complementary#008822#660088#880022
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
001706002d0b004411005b1700711c0088222b9c4755b06c80c491aad7b5d5ebda
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{#008822}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{88}_{16}=136,\ 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=135∘,S=100%,L=27%H=135^\circ,\quad S=100\%,\quad L=27\%
  3. 3

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

    135^\circ + 180^\circ = 315^\circ ;\Rightarrow; \mathrm{#880066}
  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.62:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.62:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#008822} = \mathrm{rgb}(0, 136, 34) \]
\[ \mathrm{#008822}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{88}_{16}=136,\ B=\mathrm{22}_{16}=34 \]
\[ H=135^\circ,\quad S=100\%,\quad L=27\% \]
\[ 135^\circ + 180^\circ = 315^\circ ;\Rightarrow; \mathrm{#880066} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.62:1\ \text{(on white)} \]

#008822 in every colour format

FormatValue
HEX#008822
RGBrgb(0, 136, 34)
RGB (percent)rgb(0.0%, 53.3%, 13.3%)
HSLhsl(135, 100%, 27%)
HSV / HSBhsv(135, 100%, 53%)
CMYKcmyk(100%, 0%, 75%, 47%)
Decimal34850
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 text4.62:1passpassfailpass
Black text4.54:1passpassfailpass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#001706 #002D0B #004411 #005B17 #00711C
This colour#008822
Tints (mixed with white)#2B9C47 #55B06C #80C491 #AAD7B5 #D5EBDA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#8A7A1049
Deuteranopia#7E712D48
Tritanopia#00847447
Grayscale#757575-

Nearest named colours

NameHex
Forest green#228B22
Green#008000
Dark green#006400
Medium sea green#3CB371

Questions

What is the RGB value of #008822?

rgb(0, 136, 34): red 0, green 136, blue 34.

What is the HSL value of #008822?

hsl(135, 100%, 27%): a hue of 135°, 100% saturation and 27% lightness.

What is the complementary colour of #008822?

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

Should I use white or black text on #008822?

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

What is the CMYK value of #008822?

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

What is the closest named colour to #008822?

Forest green (#228B22).

Matching colours

A little darker, a little lighter

Make a palette

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