Dark Green color: hex #006400, RGB and HSL
Dark Green is the CSS keyword darkgreen, hex #006400, rgb(0, 100, 0), hsl(120, 100%, 20%). It is a very dark, fully saturated green in the greens family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.
- CSS name
- darkgreen
- Hex
- #006400
- RGB
- rgb(0, 100, 0)
- HSL
- hsl(120, 100%, 20%)
- On white
- 7.44:1 — passes AA for body text
- On black
- 2.82:1 — fails AA; use as a fill, not text
.example {
color: darkgreen; /* keyword */
color: #006400; /* hex */
color: rgb(0, 100, 0); /* rgb */
color: hsl(120, 100%, 20%); /* hsl */
}What colors go with dark green
Each match keeps dark green's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside dark green as the primary; the harmony guides explain which rule suits which interface.
Complementary
The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.
Split-complementary
The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.
Triadic
Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.
Analogous
The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.
Tints and shades of dark green
Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as dark green — these are the hover, pressed, disabled and surface variants a single brand color needs.
Tints (lighter)
Shades (darker)
A UI color palette built from dark green
The eight semantic roles an interface actually uses, derived from dark green as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.
- primary
- #006400
- secondary
- #320064
- accent
- #640032
- background
- #fcfdfc
- surface
- #f3f7f3
- text
- #112211
- muted
- #568f56
- border
- #dfecdf
- primary
- #1aff1a
- secondary
- #8c1aff
- accent
- #ff1a8c
- background
- #0e1b0e
- surface
- #152815
- text
- #f3f6f3
- muted
- #94b894
- border
- #274927
Using dark green in an interface
Green means success and 'on' — reserve one green for that job before you use another as a brand color. Sea green, forest green and teal are calm enough to lead a palette; the neon greens are for dark-mode accents and little else. Whichever role dark green takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.
- What is the hex code for Dark Green?
- Dark Green is #006400. In CSS the keyword darkgreen, the hex #006400, rgb(0, 100, 0) and hsl(120, 100%, 20%) all paint the same color.
- What colors go with Dark Green?
- Its complement is #640064, the split-complementary pair is #320064 and #640032, the triadic partners are #000064 and #640000, and the analogous neighbors are #326400 and #006432. In an interface, use Dark Green for most colored elements and one of these for a single accent, at roughly an 80/20 split.
- What is the opposite of Dark Green on the color wheel?
- The opposite (complementary) color is #640064, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
- Can I use Dark Green for text?
- Dark Green as text on white has a contrast ratio of 7.44:1, which passes WCAG AA for body text (4.5:1). On black it is 2.82:1, which fails for body text. It works as a text color on light surfaces.