Dark Green Color Code (#006400)

Dark Green is #006400 in hex and rgb(0, 100, 0) — a dark green. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Dark Green
#006400
CSS namedarkgreen
Hex#006400
RGBrgb(0, 100, 0)
HSLhsl(120 100% 20%)
HWBhwb(120 0% 61%)
CMYK100%, 0%, 100%, 61%

Tints and shades

Color harmonies

About Dark Green

Dark Green (darkgreen) is a dark, vivid green with the hex code #006400, or rgb(0, 100, 0). In HSL it sits at a hue of 120°, 100% saturation and 20% lightness. It is one of the 148 named colors every browser understands, so you can write color: darkgreen; instead of the hex value.

Using Dark Green for text and backgrounds

PairingContrast ratioWCAG
Dark Green text on white7.44 : 1AAA
Dark Green text on black2.82 : 1fails

On a dark green background, use white text (7.44 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: darkgreen;               /* or #006400 */
  background-color: #006400;
  border: 1px solid rgb(0 100 0 / 50%);
}

Similar named colors

Green (#008000), Forest Green (#228b22), Dark Slate Gray (#2f4f4f), Dark Olive Green (#556b2f), Black (#000000), Sea Green (#2e8b57).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for dark green?
#006400 — that is rgb(0, 100, 0) and hsl(120, 100%, 20%). In CSS you can also just write darkgreen.
Is dark green text readable on white?
Its contrast ratio on white is 7.44 : 1, which passes WCAG AA for normal text.
What colors go well with dark green?
Its complementary color is #660066; analogous colors #336600 and #006633 sit next to it on the color wheel.