CSS Named Color
Copy-ready color values
HEX
#6B8E23RGB
rgb(107, 142, 35)HSL
hsl(80, 60%, 35%)HSV
hsv(80, 75%, 56%)CMYK approx.
cmyk(25, 0, 75, 44)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #6B8E23 | |
| RGB | rgb(107, 142, 35) | |
| HSL | hsl(80, 60%, 35%) | |
| HSV | hsv(80, 75%, 56%) | |
| CMYK approx. | cmyk(25, 0, 75, 44) | |
| CSS keyword | olivedrab |
Contrast and classification
DarkLightness3.81:1Contrast with white5.52:1Contrast with blackYellow / GreenColor family
Shade and tint preview
White 10%#7A9939
White 30%#97B065
White 70%#D3DDBD
White 90%#F0F4E9
Black 10%#608020
Black 30%#4B6319
Black 70%#202B0B
Black 90%#0B0E04
Harmony palettes
Complementary
#9471DC#AE93E4Analogous
#6F8E2C#6B8130Triadic
#8E236B#236B8ESplit complementary
#A78BE2#795DB4Using Olivedrab
Olivedrab 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-olivedrab: #6b8e23;
}
.button-primary {
background: var(--color-olivedrab);
color: #000000;
}
$olivedrab: #6b8e23;
// Tailwind arbitrary value
class="bg-[#6b8e23] text-white"