Olive drab

#5a872d

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

This is Olive drab, a soft green at 90 degrees. Deep greens like this read established and premium. Warm terracotta and clay across the wheel balance it and cream keeps it fresh.

Olive drab color values

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

Hex#5a872d
RGB90, 135, 45
HSL90, 50%, 35%
HSV90, 67%, 53%
CMYK33%, 0%, 67%, 47%
Lab51.49, -30.96, 42.07
XYZ13.35, 19.69, 5.58
Decimal5932845
Web safe#669933
Pantone576 C
Pantone576 CHex#5a872dRgb90 135 45Cmyk33 0 67 47Lab51 -31 42Darker#1f2e0fDeep#36511bLighter#7eb645

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 33, 0, 67, 47.

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

Coated stockgloss or silk, C
33 0 67 47
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
34 4 66 53
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 #5a872d straight into your stylesheet.

.background { background-color: #5a872d; }
.text { color: #5a872d; }
.border { border: 2px solid #5a872d; }

How olive drab looks on light and dark

Olive drab and accessibility

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

Textwhite text on this color
4.25:1
AA fail · AA large pass · AAA fail
Textblack text on this color
4.94:1
AA pass · AA large pass · AAA fail

Use black text on this color for readable body copy. To test #5a872d 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 #5a872d 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 #5a872d 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 #5a872d is computed, not guessed. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. Two cmyk builds are shown because coated and uncoated papers behave differently, uncoated soaks up ink and needs more of it to hit the same target. The Pantone value is the closest reference by perceptual color distance and should be treated as a starting point, not a guaranteed match.