Tints and Shades
Create tints and shades from any hex. Build color shading scales in 5%, 10%, or 20% steps—export HEX, RGB, CSS, or JSON in your browser.
CSS keyword darkgreen resolves to this hex.
Ten steps toward black, then ten toward white. The outlined stop is #006400.
000A00
001400
001E00
002800
003200
003C00
004600
005000
005A00
Base
1A741A
338333
4D934D
66A266
80B280
99C199
B3D1B3
CCE0CC
E6F0E6
Hue rotations of #006400. Open the scheme generator to edit a set.
Open scheme generatorRatios use #006400 against white (#FFFFFF) and near-black (#161616). AA means 4.5:1 for body text.
Open contrast checkerOn white
7.44:1
AAA
On near-black
2.43:1
Fails AA
White text on this color
7.44:1
AAA
Near-black text on this color
2.43:1
Fails AA
CSS darkgreen is #006400. The keyword has no hyphen. Red and blue are zero and green is about 39 percent, so the color is a deep green rather than a blue-teal forest. It is the stylesheet answer to dark green color, and it is distinct from both emerald and sage.
White text on #006400 is readable for UI labels. Body text on white usually clears contrast, but thin weights can fail, so check the panel. This green is strong enough to dominate a layout. Use it for a header, a primary button, or a chart series, and keep surrounding surfaces neutral. Sage green is the grayed, lighter relative and should not share a component with dark green at a similar size. Emerald (#50C878) is brighter. Use emerald for a positive state and dark green for brand chrome if you need both. Tints of #006400 become a clear medium green, which is a better background for dark text than the base swatch.
CSS Color Module Level 4, named colors: According to the W3C CSS Color specification, darkgreen is a named color. This page uses that value. w3.org/TR/css-color-4/#named-colors
MDN named-color: According to MDN, darkgreen is one word in CSS and maps to the hex shown here. developer.mozilla.org/en-US/docs/Web/CSS/named-color