CSS Named Color

Copy-ready color values

HEX#006400
RGBrgb(0, 100, 0)
HSLhsl(120, 100%, 20%)
HSVhsv(120, 100%, 39%)
CMYK approx.cmyk(100, 0, 100, 61)

Color value table

FormatValueCopy
HEX#006400
RGBrgb(0, 100, 0)
HSLhsl(120, 100%, 20%)
HSVhsv(120, 100%, 39%)
CMYK approx.cmyk(100, 0, 100, 61)
CSS keyworddarkgreen

Contrast and classification

DarkLightness7.44:1Contrast with white2.82:1Contrast with blackGreen / TealColor family

Shade and tint preview

White 10%
#1A741A

White 30%
#4D934D

White 70%
#B3D1B3

White 90%
#E6F0E6

Black 10%
#005A00

Black 30%
#004600

Black 70%
#001E00

Black 90%
#000A00

Harmony palettes

Complementary

#FF9BFF
#FFB3FF

Analogous

#0C6400
#00580C

Triadic

#640000
#000064

Split complementary

#FFADFF
#D17FD1

Using Darkgreen

Darkgreen works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-darkgreen: #006400;
}

.button-primary {
  background: var(--color-darkgreen);
  color: #ffffff;
}

$darkgreen: #006400;

// Tailwind arbitrary value
class="bg-[#006400] text-white"