WordGPT

Dark green color (#006400)

#006400 (Dark green) is a dark green colour. It is rgb(0, 100, 0) in RGB and hsl(120, 100%, 20%) in HSL. Text in white reads better on it: the contrast is 7.44:1 against white and 2.82:1 against black.

#006400
Dark green: #006400
Complementary#006400#640064Analogous#326400#006400#006432Triadic#006400#000064#640000Tetradic (square)#006400#003264#640064#643200Split complementary#006400#320064#640032
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0011000021000032000043000053000064002b7e2b55985580b280aacbaad5e5d5
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{#006400}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{64}_{16}=100,\ B=\mathrm{00}_{16}=0
  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=100%,L=20%H=120^\circ,\quad S=100\%,\quad L=20\%
  3. 3

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

    120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#640064}
  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.44:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 7.44:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#006400} = \mathrm{rgb}(0, 100, 0) \]
\[ \mathrm{#006400}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{64}_{16}=100,\ B=\mathrm{00}_{16}=0 \]
\[ H=120^\circ,\quad S=100\%,\quad L=20\% \]
\[ 120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#640064} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 7.44:1\ \text{(on white)} \]

Dark green in every colour format

FormatValue
HEX#006400
RGBrgb(0, 100, 0)
RGB (percent)rgb(0.0%, 39.2%, 0.0%)
HSLhsl(120, 100%, 20%)
HSV / HSBhsv(120, 100%, 39%)
CMYKcmyk(100%, 0%, 100%, 61%)
Decimal25600
Descriptiondark green
CSS namedarkgreen

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text7.44:1passpasspasspass
Black text2.82:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#001100 #002100 #003200 #004300 #005300
This colour#006400
Tints (mixed with white)#2B7E2B #559855 #80B280 #AACBAA #D5E5D5

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#66590040
Deuteranopia#5D531140
Tritanopia#00615444
Grayscale#555555-

Nearest named colours

NameHex
Green#008000
Forest green#228B22
Olive drab#6B8E23
Sea green#2E8B57

Questions

What is the RGB value of #006400?

rgb(0, 100, 0): red 0, green 100, blue 0.

What is the HSL value of #006400?

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

What is the complementary colour of #006400?

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

Should I use white or black text on #006400?

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

What is the CMYK value of #006400?

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

Is #006400 a named colour?

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

Matching colours

A little darker, a little lighter

Make a palette

    Dark green (#006400): color code, RGB, HSL, shades and palettes | WordGPT