#9D7940

Closest named color: Mocha (#9D7651). oklch(59.9% 0.087 77.3), rgb(157, 121, 64).

Aa

Black text reads best on this color (5.24:1).

About this color

#9D7940 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 60%, its chroma 0.087 and its hue 77°. Its hue sits on the warm side of the wheel. The nearest named color is Mocha (#9D7651), ΔE 0.024 away. Black text reads best on it, at 5.24:1.

Hue familyBrowns
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameMocha (#9D7651)
Black text5.24:1
White text4.00:1

Values

HEX#9D7940
RGBrgb(157, 121, 64)
HSLhsl(37, 42%, 43%)
OKLCHoklch(59.9% 0.087 77.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #9D7940 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #9D7940 5.24:1 AA Lc 36.8 Non-text elements, placeholder text
#9D7940 text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#9D7940 text on black 5.24:1 AA Lc -34.4 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #EFE9E1

    oklch(93.7% 0.013 75.4)

  3. Step 200

    200

    #E2D7C8

    oklch(88.4% 0.024 75.8)

  4. Step 300

    300

    #D0BEA2

    oklch(80.9% 0.043 78.9)

  5. Step 400

    400

    #B99C70

    oklch(70.8% 0.069 77.7)

  6. Step 500

    500 (this color)

    #9D7940

    oklch(59.9% 0.087 77.3)

  7. Step 600

    600

    #926B2B

    oklch(55.5% 0.094 76.8)

  8. Step 700

    700

    #7C591D

    oklch(49% 0.088 77.1)

  9. Step 800

    800

    #65491B

    oklch(42.6% 0.072 76.8)

  10. Step 900

    900

    #523D1C

    oklch(37.5% 0.056 76.9)

  11. Step 950

    950

    #302411

    oklch(26.9% 0.036 77.8)

Export this scale for Tailwind in the Tailwind colors tool

#9D7940 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#877A3B0.038
Deuteranopia (no green cones)#8F83420.034
Tritanopia (no blue cones)#AA6F6C0.075
Achromatopsia (no color)#7F7F7F0.087

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #9D7940

    #9D7940

    oklch(59.9% 0.087 77.3)

  • #5E81B4

    #5E81B4

    oklch(59.8% 0.088 257.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D7940

    #9D7940

    oklch(59.9% 0.087 77.3)

  • #AB6F52

    #AB6F52

    oklch(59.9% 0.087 46.4)

  • #868443

    #868443

    oklch(60% 0.087 107.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #9D7940

    #9D7940

    oklch(59.9% 0.087 77.3)

  • #3F8AA8

    #3F8AA8

    oklch(59.8% 0.087 227.2)

  • #7D78B1

    #7D78B1

    oklch(60% 0.086 287.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D7940

    #9D7940

    oklch(59.9% 0.087 77.3)

  • #309092

    #309092

    oklch(60% 0.087 197.1)

  • #956FA2

    #956FA2

    oklch(59.8% 0.087 317.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D7940

    #9D7940

    oklch(59.9% 0.087 77.3)

  • #459175

    #459175

    oklch(60% 0.088 166.9)

  • #5E81B4

    #5E81B4

    oklch(59.8% 0.088 257.7)

  • #A66A8A

    #A66A8A

    oklch(59.8% 0.087 346.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9D7940, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #9D7940 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.