Olive

#797c21

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

This is Olive, a strong yellow at 62 degrees. 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 color values

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

Hex#797c21
RGB121, 124, 33
HSL62, 58%, 31%
HSV62, 73%, 49%
CMYK2%, 0%, 73%, 51%
Lab50.2, -12.97, 46.48
XYZ15.37, 18.59, 4.22
Decimal7961633
Web safe#666633
Pantone392 C
Pantone392 CHex#797c21Rgb121 124 33Cmyk2 0 73 51Lab50 -13 46Darker#2f300dDeep#4f5115Lighter#aaae37

Shades of olive

Tints of olive

Colors that go with olive

Olive in print

It converts to cmyk cleanly and holds its character from screen to paper. The cmyk build is 2, 0, 73, 51.

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

Coated stockgloss or silk, C
2 0 73 51
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
6 4 71 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 readrgb vs cmyk for print andwhat the k in cmyk means.

Olive in css

Copy #797c21 straight into your stylesheet.

.background { background-color: #797c21; }
.text { color: #797c21; }
.border { border: 2px solid #797c21; }

How olive looks on light and dark

Olive and accessibility

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

Textwhite text on this color
4.45:1
AAfail · AA largepass · AAAfail
Textblack text on this color
4.72:1
AApass · AA largepass · AAAfail

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

Olive on a business card, sticker and pattern

A quick look at how #797c21 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? Pull matching colors from any photo with thecolor palette generator, or check a design for print with thergb to cmyk converter.

Turn olive into a seamless pattern

Four patterns built from #797c21 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, free and print ready.

Open in pattern maker

How we calculate these values

Here is how the numbers for #797c21 are worked out. 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. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.