Swatchproof

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 keyworddarkgreen
HEX#006400
RGBrgb(0 100 0)
HSLhsl(120 100% 20%)
OKLCHoklch(43.6% 0.148 142.5)
White text7.44:1 · body text AA Pass
Black text2.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.

ColourHEXContrast with Dark greenBody text AA
Yellow#FFF2006.36:1Pass
Ochraceous Salmon#D8A37B3.35:1Fail
Eosine Pink#F37F942.93:1Fail
Black#1113142.50:1Fail
Khaki#BC892B2.39:1Fail
Burnt Sienna#AE52241.43:1Fail
Slate Color#34454C1.34:1Fail
Carmine#CC12361.31:1Fail
Deep Lyons Blue#1C42861.30:1Fail
Pale Burnt Lake#8026261.27:1Fail
Deep Grayish Olive#635A3A1.08:1Fail
Red#A721441.04:1Fail

Palettes with Diamine Green

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.

: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

Similar CSS colours