Dark green
Dark green is a vivid shade of green. Hex code #006400.
Dark green color codes
- CSS name
darkgreen - HEX
#006400 - RGB
rgb(0, 100, 0) - HSL
hsl(120, 100%, 20%) - OKLCH
oklch(43.6% 0.148 142.5)
HSB and CMYK values
- HSB / HSV
hsb(120, 100%, 39%) - CMYK
C100 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
- Green#008000
Lighter
- Dark olive green#556B2F
Lighter, more yellow, more muted
- Forest green#228B22
Lighter
- Dark slate gray#2F4F4F
Slightly darker, more cyan, much more muted
- Sea green#2E8B57
Lighter, more cyan
- Teal#008080
Lighter, more cyan, more muted
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.