Huebook

Mocha

Mocha is a medium, moderately saturated orange color with the hex code #9D7651 (hue 29°, saturation 32%, lightness 47%).

#9D7651
NameHEXRGBHSLCMYKOKLCH
Mocha#9D7651157, 118, 8129°, 32%, 47%0, 25, 48, 3859.6% 0.071 64

Contrast with white text 4.08:1, with black text 5.14:1 — use black text on Mocha.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Mocha

Move the sliders to make Mocha lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Mocha
  • HEX#9D7651
  • RGBrgb(157 118 81)
  • HSLhsl(29 32% 47%)

Variations of Mocha

Text on Mocha

White textThe quick brown fox4.08:1 · AA large text only · AAA fail
Black textThe quick brown fox5.14:1 · AA pass · AAA large text only

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Mocha with color blindness

Normal #9D7651
Protanopia #83784E
Deuteranopia #8C8152
Tritanopia #A96D6D

How Mocha appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#EEE5DD
#D4BFAB
#BA9878
#97724E
#654C34
#32261A

Colors that go with Mocha

Six color schemes built on Mocha with classic harmony rules. The complementary scheme pairs it with Secrecy (#50759E), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Mocha

Similar medium orange colors

Questions

What is the hex code for Mocha?

#9D7651 — RGB 157, 118, 81, HSL 29°, 32%, 47%.

Is Mocha a warm or cool color?

Warm — its hue sits at 29° on the color wheel.