Dark green #006400
Dark green is one of the named colours in CSS, written darkgreen. White text reaches 7.44:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | darkgreen |
|---|---|
| HEX | #006400 |
| RGB | rgb(0 100 0) |
| HSL | hsl(120 100% 20%) |
| OKLCH | oklch(43.6% 0.148 142.5) |
| White text | 7.44:1 · body text AA Pass |
| Black text | 2.82:1 · body text AA Fail |
Colours that go with Dark green
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Diamine Green (#1A7444), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Dark green itself.
| Colour | HEX | Contrast with Dark green | Body text AA |
|---|---|---|---|
| Yellow | #FFF200 | 6.36:1 | Pass |
| Ochraceous Salmon | #D8A37B | 3.35:1 | Fail |
| Eosine Pink | #F37F94 | 2.93:1 | Fail |
| Black | #111314 | 2.50:1 | Fail |
| Khaki | #BC892B | 2.39:1 | Fail |
| Burnt Sienna | #AE5224 | 1.43:1 | Fail |
| Slate Color | #34454C | 1.34:1 | Fail |
| Carmine | #CC1236 | 1.31:1 | Fail |
| Deep Lyons Blue | #1C4286 | 1.30:1 | Fail |
| Pale Burnt Lake | #802626 | 1.27:1 | Fail |
| Deep Grayish Olive | #635A3A | 1.08:1 | Fail |
| Red | #A72144 | 1.04:1 | Fail |
Palettes with Diamine Green
- Combination #38 Diamine Green · Deep Lyons Blue
- Combination #146 Khaki · Deep Grayish Olive · Diamine Green
- Combination #217 Pale Burnt Lake · Ochraceous Salmon · Diamine Green
- Combination #242 Eosine Pink · Burnt Sienna · Diamine Green · Black
- Combination #251 Red · Yellow · Diamine Green · Slate Color
- Combination #313 Carmine · Yellow · Diamine Green · Black
Shades and tints of Dark green
Nine lightness steps in OKLCH that keep the hue of Dark green. Chroma is reduced only where sRGB cannot show it.
- 100#E1FFDE
- 200#A8FEA1
- 300#92E68B
- 400#75C96F
- 500#56A850
- 600#32862E
- 700#096807
- 800#004900
- 900#002B00
:root {
--darkgreen-100: #E1FFDE;
--darkgreen-200: #A8FEA1;
--darkgreen-300: #92E68B;
--darkgreen-400: #75C96F;
--darkgreen-500: #56A850;
--darkgreen-600: #32862E;
--darkgreen-700: #096807;
--darkgreen-800: #004900;
--darkgreen-900: #002B00;
}
Text that keeps Dark green on screen
Text #006400 on #E1FFDE reaches 6.93:1, which passes WCAG AA for body text. Check it on a dashboard