Dark Green Color
HEX #006400 · rgb(0, 100, 0) · hsl(120, 100%, 20%)
Dark Green color codes
Dark Green is one of the named colors every browser understands. In CSS you can write it as darkgreen or #006400.
| Format | Value | |
|---|---|---|
| HEX | #006400 | |
| RGB | rgb(0, 100, 0) | |
| HSL | hsl(120, 100%, 20%) | |
| CMYK | 100%, 0%, 100%, 61% | |
| CSS name | darkgreen |
.example {
color: darkgreen;
background-color: #006400;
border-color: rgb(0, 100, 0);
}
Colors that go with dark green
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of dark green
Tints mix the color with white; shades mix it with black.
Dark Green
Contrast and readability
2.82:1
fails
7.44:1
passes AA and AAA
Use white text on dark green. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for dark green?
The hex code for dark green is #006400.
What is the RGB value of dark green?
Dark Green is rgb(0, 100, 0): 0 red, 100 green and 0 blue on a 0 to 255 scale.
What color goes with dark green?
Its complementary color is #640064, which is closest to the named color indigo. Analogous and triadic matches are listed on this page.
Should text on dark green be black or white?
Use white text. The contrast ratio is 2.82:1 with black and 7.44:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.