AfoliOpen Afoli →

Mocha color #9D7651

Mocha is a color name from the xkcd color survey for the hex code #9D7651 — RGB 157, 118, 81, HSL 29°, 32%, 47%.

Open in Afoli Colour tools →

#9D7651Mocha

Color codes

HEX
#9D7651
RGB
rgb(157, 118, 81)
HSL
hsl(29, 32%, 47%)
CMYK
0%, 25%, 48%, 38%
OKLCH
oklch(59.6% 0.071 64.3)

Tints and shades

#FFF3E7#FCD1A9#E1B790#C69D77#AC845E#926C47#795430#613E19#4A2800#2E1700#150700

Color harmonies

Complementary
#9D7651#5984A7
Analogous
#A57063#9D7651#8D7F4C
Triadic
#9D7651#488D84#8874A2
Split complementary
#9D7651#478A99#727CAA
Tetradic
#9D7651#5C8C6C#5984A7#9A6F90

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Mocha text on white4.08 : 168AA for large text only
Mocha text on black5.14 : 1-34AA — body text
White text on Mocha4.08 : 1-73AA for large text only
Black text on Mocha5.14 : 136AA — body text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Mocha?

Mocha has the hex code #9D7651, which is RGB 157, 118, 81 and HSL 29°, 32%, 47%.

Which text color reads best on Mocha?

Black text: contrast 5.14 : 1 (white text: 4.08 : 1).

Which colors go well with Mocha?

Its complementary color is #5984A7; analogous colors are #A57063 and #8D7F4C; a triadic set adds #488D84 and #8874A2.

Similar colors

Sources and licences

Updated November 21, 2026