CSS named color
DarkGreen Color Code
DarkGreen is a dark, vivid green with the hex code #006400. In RGB it is rgb(0, 100, 0), in HSL hsl(120, 100%, 20%) and in CMYK cmyk(100%, 0%, 100%, 61%).
Color values
In CSS you can write it as the keyword darkgreen.
White text on DarkGreen has a contrast ratio of 7.44:1 and black text 2.82:1, so white text is the more readable choice.
The closest Tailwind CSS color is Lime 800 (#3F6212).
Use DarkGreen in CSS
.element {
color: darkgreen;
background-color: #006400;
border-color: rgb(0, 100, 0);
} Tints and shades of DarkGreen
Ten steps from light to dark at the same hue. Click any swatch to copy it.
Colors that go with DarkGreen
Color-wheel harmonies built from #006400. Click a swatch to copy it or open the set in the color wheel.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on DarkGreen
Colors similar to DarkGreen
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
Palettes with similar colors
Questions about DarkGreen
What is the hex code for DarkGreen?
The hex code for DarkGreen is #006400. Its RGB value is rgb(0, 100, 0) and its HSL value is hsl(120, 100%, 20%).
What colors go with DarkGreen?
The complementary color of DarkGreen is #660066. For a softer scheme try the analogous colors #336600 and #006633; for a balanced three-color scheme use the triadic colors #000066 and #660000.
Is DarkGreen readable as a text color?
On a white background DarkGreen has a contrast ratio of 7.44:1, which passes WCAG AA for normal text (4.5:1). On black it reaches 2.82:1.