Xerobit

Dark Green Hex Code and Color Values

Dark Green (CSS name darkgreen) has the hex code #006400. In RGB it is 0, 100, 0, and in HSL it is 120 degrees, 100% saturation and 20% lightness.

Dark Green: #006400

  • Hex
    #006400
  • RGB
    rgb(0, 100, 0)
  • HSL
    hsl(120, 100%, 20%)
  • HSV
    120, 100%, 39%
  • CMYK
    100%, 0%, 100%, 61%
  • CSS name
    darkgreen

Dark Green color values

FormatValue
Hex#006400
RGBrgb(0, 100, 0)
HSLhsl(120, 100%, 20%)
HSV120, 100%, 39%
CMYK (simple conversion)100%, 0%, 100%, 61%
Decimal25600

CMYK is calculated with the standard formula from the RGB values. Printed colors depend on the ink and paper, so treat it as a starting point.

About Dark Green

Dark green is a deep, forest like shade that lacks the brightness of standard green. It strongly represents nature, growth, and environmental causes. Financial applications also use it to indicate positive numbers or successful transactions. It is one of the 148 CSS named colors.

Shades and tints of Dark Green

Tints mix Dark Green with white and shades mix it with black. Each step changes the color by 10 percentage points.

StepTint (towards white)Shade (towards black)
10% #1A741A #005A00
20% #338333 #005000
30% #4D934D #004600
40% #66A266 #003C00
50% #80B280 #003200

Color harmony for Dark Green

These colors keep the same saturation and lightness as Dark Green and rotate the hue around the color wheel.

SchemeColors
Complementary #640064
Analogous #326400 #006432
Triadic #000064 #640000
Split complementary #320064 #640032

Contrast and accessibility

Contrast between #006400 and white is 7.44:1 (passes AAA). Against black it is 2.82:1 (fails). For text on a Dark Green background, white text is the more readable choice.

Use Dark Green in CSS

.element {
  color: darkgreen;
  background-color: #006400;
  border-color: rgb(0 100 0);
  outline-color: hsl(120 100% 20%);
}

All four lines produce exactly the same color. The keyword darkgreen is one of the CSS named colors, so it works in every browser without a color function.

Similar named colors

FAQ

What is the hex code for Dark Green?

The hex code for Dark Green is #006400. As a CSS color keyword you can also write darkgreen.

What is Dark Green in RGB?

Dark Green is rgb(0, 100, 0): red 0, green 100, blue 0 on the 0 to 255 scale.

What color is closest to Dark Green?

Of the CSS named colors, green (#008000) is the closest match to Dark Green, followed by forestgreen and darkslategray.

More colors