WordGPT

#006622 color

#006622 is a dark green colour. It is rgb(0, 102, 34) in RGB and hsl(140, 100%, 20%) in HSL. Text in white reads better on it: the contrast is 7.18:1 against white and 2.92:1 against black.

#006622
#006622: #006622
Complementary#006622#660044Analogous#116600#006622#006655Triadic#006622#220066#662200Tetradic (square)#006622#001166#660044#665500Split complementary#006622#550066#660011
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
00110600220b00331100441700551c0066222b804755996c80b391aaccb5d5e6da
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{#006622}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{66}_{16}=102,\ 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=140∘,S=100%,L=20%H=140^\circ,\quad S=100\%,\quad L=20\%
  3. 3

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

    140^\circ + 180^\circ = 320^\circ ;\Rightarrow; \mathrm{#660044}
  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=7.18:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 7.18:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#006622} = \mathrm{rgb}(0, 102, 34) \]
\[ \mathrm{#006622}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{22}_{16}=34 \]
\[ H=140^\circ,\quad S=100\%,\quad L=20\% \]
\[ 140^\circ + 180^\circ = 320^\circ ;\Rightarrow; \mathrm{#660044} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 7.18:1\ \text{(on white)} \]

#006622 in every colour format

FormatValue
HEX#006622
RGBrgb(0, 102, 34)
RGB (percent)rgb(0.0%, 40.0%, 13.3%)
HSLhsl(140, 100%, 20%)
HSV / HSBhsv(140, 100%, 40%)
CMYKcmyk(100%, 0%, 67%, 60%)
Decimal26146
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 text7.18:1passpasspasspass
Black text2.92:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#001106 #00220B #003311 #004417 #00551C
This colour#006622
Tints (mixed with white)#2B8047 #55996C #80B391 #AACCB5 #D5E6DA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#675C1A39
Deuteranopia#5E552838
Tritanopia#00635834
Grayscale#575757-

Nearest named colours

NameHex
Dark green#006400
Sea green#2E8B57
Forest green#228B22
Dark olive green#556B2F

Questions

What is the RGB value of #006622?

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

What is the HSL value of #006622?

hsl(140, 100%, 20%): a hue of 140°, 100% saturation and 20% lightness.

What is the complementary colour of #006622?

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

Should I use white or black text on #006622?

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

What is the CMYK value of #006622?

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

What is the closest named colour to #006622?

Dark green (#006400).

Matching colours

A little darker, a little lighter

Make a palette

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