Olive drab

#5a7e01

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

Olive drab is a deep green that feels rich. 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 #5a7e01, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#5a7e01
RGB90, 126, 1
HSL77, 98%, 25%
HSV77, 99%, 49%
CMYK29%, 0%, 99%, 51%
Lab48.38, -28.91, 52.59
XYZ11.68, 17.1, 2.71
Decimal5930497
Web safe#666600
Pantone370 C
Pantone370 CHex#5a7e01Rgb90 126 1Cmyk29 0 99 51Lab48 -29 53Darker#2b3d00Deep#486501Lighter#88bb0b

Shades of olive drab

Tints of olive drab

Colors that go with olive drab

Olive drab in print

The saturation is high, which is where rgb and cmyk drift apart, so a printed proof is worth it. The cmyk build is 29, 0, 99, 51.

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

Coated stockgloss or silk, C
29 0 99 51
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
31 4 95 57
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 #5a7e01 straight into your stylesheet.

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

How olive drab looks on light and dark

Olive drab and accessibility

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

Textwhite text on this color
4.75:1
AA pass · AA large pass · AAA fail
Textblack text on this color
4.42:1
AA fail · AA large pass · AAA fail

Use white text on this color for readable body copy. To test #5a7e01 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 #5a7e01 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 #5a7e01 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 #5a7e01 is computed, not guessed. We convert from sRGB to each space with the standard formulas, so the codes match what design tools show. The coated and uncoated cmyk builds differ because uncoated stock absorbs more ink and gains dot, so the same color needs a heavier, slightly duller build on press. The Pantone figure is the nearest match in our reference set by perceptual distance and it is an approximation, not an exact spot color.