CSS Named Color
Copy-ready color values
HEX
#006400RGB
rgb(0, 100, 0)HSL
hsl(120, 100%, 20%)HSV
hsv(120, 100%, 39%)CMYK approx.
cmyk(100, 0, 100, 61)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #006400 | |
| RGB | rgb(0, 100, 0) | |
| HSL | hsl(120, 100%, 20%) | |
| HSV | hsv(120, 100%, 39%) | |
| CMYK approx. | cmyk(100, 0, 100, 61) | |
| CSS keyword | darkgreen |
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#FFB3FFAnalogous
#0C6400#00580CTriadic
#640000#000064Split complementary
#FFADFF#D17FD1Using 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"