olivedrab (Olive Drab) CSS Color Code (#6B8E23)

olivedrab

Color Values & Formats

Using olivedrab is just one of many ways to represent this color in CSS. Below are the various color codes you can use:

CSS Name
olivedrab
HEX
#6b8e23
HEX Upper
#6B8E23
RGB
rgb(107, 142, 35)
RGBA
rgba(107, 142, 35, 1)
HSL
hsl(80, 60%, 35%)
HSLA
hsla(80, 60%, 35%, 1)
HWB
hwb(80 14% 44%)
CIELAB
lab(54.65 -28.22 49.69)
CIELCH
lch(54.65 57.15 119.59)
OKLab
oklab(0.599 -0.081 0.111)
OKLCH
oklch(0.599 0.137 126.34)

UI Component Preview

See how this color behaves when used as text, background, or outline borders in a user interface.

On White Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

On Dark Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

Interactive Buttons
Border & Stroke
Border Example

Tints

Lighter variations generated by blending the color with white (#ffffff).

Shades

Darker variations generated by blending the color with black (#000000).

Complementary Color

The color directly opposite on the HSL color wheel (shifted 180°).