Skip to main content

#5A8F29 Olive Drab

#5A8F29 is Olive Drab.

#5A8F29

Olive Drab

What are the RGB, HSL, OKLCH and CMYK values of #5A8F29?

HEX
#5A8F29
RGB
rgb(90, 143, 41)
HSL
hsl(91, 55%, 36%)
OKLCH
oklch(59.2% 0.144 133)
CMYK
37, 0, 71, 44

#5A8F29 has a contrast ratio of 3.89:1 against white and 5.40:1 against black, so black is the better background for text in this color and dark text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #5A8F29
#5A8F29
Same color
White
3.9AA18
Near-black
4.5AA18

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • Near-black on #5A8F29 · 4.5:1

Tints and shades of #5A8F29

Same hue and chroma in OKLCH, lighter to darker.

  1. #E5FFD4
  2. #B0EA85
  3. #92CA66
  4. #74AB47
  5. #5A8F29
  6. #3E6F00
  7. #2C5100
  8. #1B3500
  9. #0B1B00

Colors that go with #5A8F29

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Olive Drab, #5A8F29 and Kelly Green, #32AF35; Olive Drab, #5A8F29 and Dark Olive Green, #6E6F20 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --olive-drab-1: #5A8F29; /* Olive Drab */
}

Palettes, gradients and meshes with #5A8F29

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).

Palettes (4)

Gradients (2)

Mesh gradients (1)