Find Color Codes

Olive Green Color Codes

Olive Green is a light, muted yellow with the hex code #B5B35C, RGB values of 181, 179, 92 and an HSL value of hsl(59, 38%, 54%).

HEX#B5B35C
RGB181, 179, 92
HSLhsl(59, 38%, 54%)
HSV59°, 49%, 71%
CMYK0%, 1%, 49%, 29%
LAB71.44, -11.48, 44.27
CIELCHuv71.44, 56.48, 84.55°
Nearest Pantone
PMS 618 C ΔE 5.3 · approximate
Nearest CSS name
darkkhaki ΔE 6.0

Source Wikipedia, List of colors

Olive Green Color Hex Code

The Olive Green color hex code is #B5B35C. Those six digits are three pairs, B5 for red, B3 for green and 5C for blue, which is the same triplet a browser reads from the CSS value below.

#B5B35C

Olive Green Color RGB Code

The Olive Green RGB code is rgb(181, 179, 92). Red carries the most light at 181 of 255, which is what puts this color where it sits on the wheel.

rgb(181, 179, 92)

Olive Green Color HSV Code

The Olive Green HSV code is 59°, 49%, 71%. Read it as a hue of 59 degrees, 49% saturation and 71% value, which is the form most color pickers use because moving one number changes one thing.

59°, 49%, 71%

Olive Green Color CIELChuv Code

The Olive Green CIELCHuv code is 71.44, 56.48, 84.55°. Unlike hex or RGB this one is perceptual: lightness 71 means light to the eye rather than to the screen, and chroma 56 is how far it sits from grey.

71.44, 56.48, 84.55°

Tonal scale

What are Olive Green Color Palettes?

A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.

Shades, toward black

Tints, toward white

Tones, toward grey

Open in the shades & tints generator →

Palettes

What are Olive Green Color Palette Codes?

Each of these is a hue rotation from #B5B35C. They are generated, not curated, so they are exact.

Complementary

Directly opposite sits #5C5EB5, a dark, muted blue. No other pairing separates two hues further, so this is the one to reach for when a single element has to win attention. Neither is especially saturated, so this pairing stays calm enough for large areas of both.

Analogous

#B5875C and #8BB55C sit 30 degrees either side. All three share most of their hue, so the set reads as one family instead of three separate decisions. Good for backgrounds and for state variations that should not announce themselves.

Triadic

#5CB5B3 and #B35CB5 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.

Split-complementary

Instead of the direct complement, this takes the two hues either side of it: #5C8BB5 and #875CB5. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.

Tetradic

Two complementary pairs forming a rectangle: this base with #5C5EB5, and #5CB587 with #B55C8B. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.

See these on the color wheel →

Accessibility

Contrast checker: is Olive Green accessible?

Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.

White background

2.19:1

2.19

contrast ratio on white background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Fails Fails
Large text needs 3:1 / 4.5:1 Fails Fails
UI component needs 3:1 Fails n/a

Black background

9.57:1

9.57

contrast ratio on black background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Passes Passes
Large text needs 3:1 / 4.5:1 Passes Passes
UI component needs 3:1 Passes n/a

At 2.19:1 against white, Olive Green is a fill color rather than a text color. Use it for surfaces, borders and large display type, and set the copy in ink. Text placed on it should be black, which gives 9.57:1.

Color vision

How Olive Green looks with color blindness

Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.

Protanopia

About 1% of men
actual

#B4B479

Olive Green shifts noticeably here. ΔE 14.3

No working red cones. Reds darken sharply and drift toward the same muddy olive as green.

Deuteranopia

About 1% of men
actual

#B4B47E

Olive Green shifts noticeably here. ΔE 16.9

No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.

Tritanopia

About 1 in 10,000
actual

#B58A8E

Olive Green changes substantially here. ΔE 50.1

No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.

Achromatopsia

About 1 in 30,000
actual

#AFAFAF

Olive Green changes substantially here. ΔE 45.7

No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.

To a deuteranope, the most common form, Olive Green reads as #B4B47E. That is a shift of ΔE 16.9, so it is a different color to roughly one man in sixteen. The widest shift is under tritanopia, at ΔE 50.1. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.

Snippets

Using Olive Green in code

:root {
  --olive-green: #B5B35C;
}

.example {
  color: var(--olive-green);
}