Skip to content

Olive drab

#6B8E23

Olive drab is the hex color #6B8E23, with RGB values 107, 142, 35. It is a CSS color keyword, so browsers render it from the name alone, and its value is fixed by the CSS Color Module.

GreenCSS keyword

Quick colors, then fill the screen

Or a gradient

Or let it move

#6B8E23rgb(107, 142, 35) · hsl(80, 60%, 35%)

Olive drab color codes

Every value for #6B8E23, ready to paste. Click any code to copy it.

Channel values for #6B8E23 in each number base
ChannelDecimalShareHexOctalBinary
Red10741.96%6B15301101011
Green14255.69%8E21610001110
Blue3513.73%234300100011

The nearest web-safe color is #669933, from the 216-color palette browsers agreed on before displays could be trusted with more.

About olive drab

A CSS keyword and a genuine military specification, adopted so uniforms would disappear against vegetation rather than look smart.

Shades, tints and tones

Every step is generated from #6B8E23. Click a swatch to copy its hex.

Shades of olive drab

A shade is the base color with black mixed in. Shades read as deeper and more dramatic, and they are what you reach for when a color needs to recede or carry weight.

Tints of olive drab

A tint is the base color with white mixed in. Tints turn pastel as they lighten, which makes them useful for backgrounds and for anything that has to sit behind text.

Tones of olive drab

A tone is the base color with grey mixed in. Tones lose the shout without losing the hue, and they are usually what separates a considered palette from a loud one.

The olive drab scale

The same color as the 50 to 950 ladder every CSS framework uses, with #6B8E23 at 500. Click a step to copy its hex, or take the whole scale as variables for a design system.

Color schemes built on olive drab

Harmonies are positions on the color wheel rather than matters of taste, which is why they keep working across very different designs.

Complementary

Two colors from opposite sides of the wheel. They make each other look more vivid, which is why the pairing is used for anything that needs to stand out.

Analogous

Three neighbours on the wheel. Nothing competes, so the result reads calm and settled, closer to how colour behaves in nature.

Split complementary

The base plus the two colors either side of its complement. It keeps most of the contrast while being much easier to balance.

Triadic

Three colors spaced evenly around the wheel. Strong and lively, and usually best with one dominant color and two accents.

Tetradic

Two complementary pairs, forming a rectangle on the wheel. The richest scheme available, and the hardest to keep from shouting.

Monochromatic

One hue at different lightness levels. Effortlessly cohesive, and the safest way to build a palette around a brand color.

Colors close to #6B8E23

Near neighbours, for when this color is almost right. Each one shifts hue, saturation or lightness by a small step.

Olive drab color palettes

Five-color palettes built around #6B8E23, each following a different scheme. Click any swatch to copy it, or open the generator to build your own.

Analogous

Complementary

Triadic

Monochromatic

Open the palette generator to lock the colors you like and regenerate the rest.

Contrast and readability

Whether olive drab works as text, and what to put on top of it when it is the background. Ratios follow WCAG 2.1, where 4.5 is the bar for body text and 3 for large text.

Olive drab text on white background

3.81:1 · Large text only

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Olive drab text on black background

5.52:1 · Good

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Used the other way round, #6B8E23 as a background takes #000000 text. That is the higher-contrast of the two, and it is what the tool picks automatically for any chrome sitting on your color.

Olive drab reads better on a black background of the two. Contrast is a property of the pair, not of one color, so a color that fails here can still be perfectly usable against a different partner.

Share

The green family

Olive drab sits in the green family. Every named green in the library, with olive drab first.

SwatchNameHexRGBHSL
Olive drab is a CSS keyword is the color on this page#6B8E23107, 142, 3580, 60%, 35%
Green is a CSS keyword#0080000, 128, 0120, 100%, 25%
Emerald#50C87880, 200, 120140, 52%, 55%
Sage#9CAF88156, 175, 13689, 20%, 61%
Olive is a CSS keyword#808000128, 128, 060, 100%, 25%
Mint#98FF98152, 255, 152120, 100%, 80%
Forest green is a CSS keyword#228B2234, 139, 34120, 61%, 34%
Jade#00A86B0, 168, 107158, 100%, 33%
Lime is a CSS keyword#00FF000, 255, 0120, 100%, 50%
Seafoam#93E9BE147, 233, 190150, 66%, 75%
Moss#8A9A5B138, 154, 9175, 26%, 48%
Chartreuse is a CSS keyword#7FFF00127, 255, 090, 100%, 50%
Sea green is a CSS keyword#2E8B5746, 139, 87146, 50%, 36%
Hunter green#355E3B53, 94, 59129, 28%, 29%
Pistachio#93C572147, 197, 11496, 42%, 61%