Olive drab

#7e8c2b

Hex, rgb, cmyk and Pantone values for olive drab, with shades, tints, matching colors and free print quality patterns.

Olive drab falls in the yellow band, deep and soft. Yellows like this read optimistic and energetic. Pair it with dark neutrals so it stays legible, or with violet for a high energy scheme.

Olive drab color values

Every conversion for #7e8c2b, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#7e8c2b
RGB126, 140, 43
HSL69, 53%, 36%
HSV69, 69%, 55%
CMYK10%, 0%, 69%, 45%
Lab55.45, -18.62, 47.83
XYZ18.42, 23.37, 5.82
Decimal8293419
Web safe#669933
Pantone582 C
Pantone582 CHex#7e8c2bRgb126 140 43Cmyk10 0 69 45Lab55 -19 48Darker#2a2f0eDeep#4d551aLighter#aabc43

Shades of olive drab

Tints of olive drab

Colors that go with olive drab

Olive drab in print

The cmyk build is well inside gamut, so what you see on screen is close to what prints. The cmyk build is 10, 0, 69, 45.

The same color needs a different cmyk build depending on the paper. Here is #7e8c2b on both.

Coated stockgloss or silk, C
10 0 69 45
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
13 4 67 51
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color converts to cmyk comfortably and should hold on press.

See how it converts in the rgb to cmyk converter, or read rgb vs cmyk for print and what the k in cmyk means.

Olive drab in css

Copy #7e8c2b straight into your stylesheet.

.background { background-color: #7e8c2b; }
.text { color: #7e8c2b; }
.border { border: 2px solid #7e8c2b; }

How olive drab looks on light and dark

Olive drab and accessibility

Contrast ratios for #7e8c2b against black and white text, measured to the WCAG standard.

Textwhite text on this color
3.70:1
AA fail · AA large pass · AAA fail
Textblack text on this color
5.67:1
AA pass · AA large pass · AAA fail

Use black text on this color for readable body copy. To test #7e8c2b against any other color, not just black and white, run the pair through our contrast checker for a live WCAG reading.

Olive drab on a business card, sticker and pattern

A quick look at how #7e8c2b sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around olive drab? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn olive drab into a seamless pattern

Four patterns built from #7e8c2b and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from olive drab, free and print ready.

Open in pattern maker

How we calculate these values

Every value on this page for #7e8c2b is computed, not guessed. We convert from sRGB to each space with the standard formulas, so the codes match what design tools show. The uncoated cmyk build carries more ink than the coated one, which is what a printer would compensate for when the same color runs on a rougher stock. The Pantone figure is the nearest match in our reference set by perceptual distance and it is an approximation, not an exact spot color.