CSS Named Color
Copy-ready color values
HEX
#556B2FRGB
rgb(85, 107, 47)HSL
hsl(82, 39%, 30%)HSV
hsv(82, 56%, 42%)CMYK approx.
cmyk(21, 0, 56, 58)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #556B2F | |
| RGB | rgb(85, 107, 47) | |
| HSL | hsl(82, 39%, 30%) | |
| HSV | hsv(82, 56%, 42%) | |
| CMYK approx. | cmyk(21, 0, 56, 58) | |
| CSS keyword | darkolivegreen |
Contrast and classification
DarkLightness5.95:1Contrast with white3.53:1Contrast with blackYellow / GreenColor family
Shade and tint preview
White 10%#667A44
White 30%#88976D
White 70%#CCD3C1
White 90%#EEF0EA
Black 10%#4D602A
Black 30%#3C4B21
Black 70%#1A200E
Black 90%#090B05
Harmony palettes
Complementary
#AA94D0#BEAEDBAnalogous
#586B34#556436Triadic
#6B2F55#2F556BSplit complementary
#B9A7D8#8B79ABUsing Darkolivegreen
Darkolivegreen 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-darkolivegreen: #556b2f;
}
.button-primary {
background: var(--color-darkolivegreen);
color: #ffffff;
}
$darkolivegreen: #556b2f;
// Tailwind arbitrary value
class="bg-[#556b2f] text-white"