Skip to content

Dark green

Dark green is a vivid shade of green. Hex code #006400.

Dark green#006400

Dark green color codes

  • CSS namedarkgreen
  • HEX#006400
  • RGBrgb(0, 100, 0)
  • HSLhsl(120, 100%, 20%)
  • OKLCHoklch(43.6% 0.148 142.5)
HSB and CMYK values
  • HSB / HSVhsb(120, 100%, 39%)
  • CMYKC100 M0 Y100 K61

White text

7.43:1 · passes WCAG AAA

Black text

2.82:1 · fails WCAG

Shades of dark green

A darker shade of dark green is #002B00 (800), and a lighter one is #44973F (400).

Colors that go with dark green

Complementary

Analogous

Triadic

The complementary color of dark green is #640064.

Click a color to copy its hex code.

Colors similar to dark green

Each compared with dark green.

About this color

Dark green in CSS and design

Dark green is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same dark green:

color: darkgreen;
color: #006400;
color: rgb(0, 100, 0);
color: hsl(120, 100%, 20%);

Frequently asked questions

What is the hex code for dark green?

#006400. In CSS you can also use the keyword darkgreen, which works in every browser.

What is dark green in RGB and HSL?

In RGB it is rgb(0, 100, 0) and in HSL hsl(120, 100%, 20%). In CMYK it is about C100 M0 Y100 K61, though printed colors vary with paper and ink.

Should I use black or white text on dark green?

White text works better: it has a contrast ratio of 7.43:1 and passes WCAG AAA. Black text reaches 2.82:1.

What is the complementary color of dark green?

#640064. It sits opposite dark green on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with dark green?

For strong contrast, pair it with its complementary color #640064. For a calmer look, combine it with its analogous neighbors #326400 and #006432. The palette generator builds more combinations.