Skip to main content

#404B2B Black Olive

The nearest named color to #404B2B is Black Olive (#2C3B22).

#404B2B

Black Olive

What are the RGB, HSL, OKLCH and CMYK values of #404B2B?

HEX
#404B2B
RGB
rgb(64, 75, 43)
HSL
hsl(81, 27%, 23%)
OKLCH
oklch(39.4% 0.052 124)
CMYK
15, 0, 43, 71

#404B2B has a contrast ratio of 9.29:1 against white and 2.26:1 against black, so white is the better background for text in this color and light 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 → #404B2B
#404B2B
Same color
White
9.3AAA
Near-black
1.9Fail

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

  • White on #404B2B · 9.3:1

Tints and shades of #404B2B

Same hue and chroma in OKLCH, lighter to darker.

  1. #EDFCD6
  2. #CEDCB6
  3. #AFBD98
  4. #929F7B
  5. #75815F
  6. #5A6544
  7. #404B2B
  8. #273112
  9. #111A00

Colors that go with #404B2B

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. Black Olive, #404B2B and Hunter Green, #41653A become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --black-olive-1: #404B2B; /* Black Olive */
}

Palettes, gradients and meshes with #404B2B

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

Palettes (24)

Gradients (1)

Mesh gradients (3)