Olive Drab color: hex code #6B8E23

#6B8E23 rgb(107, 142, 35)
Shades of green

Olive Drab has the hex code #6B8E23. It is a dark, moderate yellow-green.

In the RGB color model it is made of 42% red, 55.7% green and 13.7% blue (107, 142, 35).

Its hue angle is 80°, with 60% saturation and 35% lightness. For print, the CMYK equivalent is 25% cyan, 0% magenta, 75% yellow and 44% black.

You can use it in CSS with the keyword olivedrab.

Black text is the more readable choice on this background (contrast 5.52:1).

Olive Drab (#6B8E23) color codes

HEX#6B8E23
RGBrgb(107, 142, 35)
RGB percentrgb(42%, 55.7%, 13.7%)
HSLhsl(80, 60%, 35%)
HSV / HSBhsv(80, 75%, 56%)
CMYKcmyk(25%, 0%, 75%, 44%)
CIE LABlab(54.65, -28.22, 49.69)
CIE LCHlch(54.65, 57.15, 119.59)
CIE XYZxyz(16.04, 22.593, 5.106)
Decimal7048739
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Olive Drab, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #6B8E23RatioAAAAAAA large
Sample text5.52:1PassFailPass
Sample text3.81:1FailFailPass
#6B8E23 as text onRatioAAAAAAA large
Sample text3.81:1FailFailPass
Sample text5.52:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #6B8E23 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #6b8e23; }
.text { color: #6b8e23; }
.border { border: 2px solid #6b8e23; }
.transparent { background-color: rgb(107 142 35 / 50%); }
.gradient { background: linear-gradient(to right, #6b8e23, #358e23); }
Background
Text color
Border

Similar colors

See #6B8E23 on its hex code page

Questions

What color is #6B8E23?
#6B8E23 is a dark, moderate yellow-green known as Olive Drab. It belongs to the green family of colors.
What is the RGB value of Olive Drab?
The RGB value is 107, 142, 35: 107 red, 142 green and 35 blue on a 0 to 255 scale.
What is the complementary color of Olive Drab?
The complementary color is #46238E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #6B8E23?
Black text. Black text has a contrast ratio of 5.52:1 and white text 3.81:1. WCAG asks for at least 4.5:1 for normal text.