CSS Named Color

Copy-ready color values

HEX#6B8E23
RGBrgb(107, 142, 35)
HSLhsl(80, 60%, 35%)
HSVhsv(80, 75%, 56%)
CMYK approx.cmyk(25, 0, 75, 44)

Color value table

FormatValueCopy
HEX#6B8E23
RGBrgb(107, 142, 35)
HSLhsl(80, 60%, 35%)
HSVhsv(80, 75%, 56%)
CMYK approx.cmyk(25, 0, 75, 44)
CSS keywordolivedrab

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
#AE93E4

Analogous

#6F8E2C
#6B8130

Triadic

#8E236B
#236B8E

Split complementary

#A78BE2
#795DB4

Using 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"