#7E5E40

Closest named color: Cocoa (#875F42). oklch(50.7% 0.061 63.9), rgb(126, 94, 64).

Aa

White text reads best on this color (5.89:1).

About this color

#7E5E40 is a medium-dark, muted brown. In OKLCH its lightness is 51%, its chroma 0.061 and its hue 64°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.017 away. White text reads best on it, at 5.89:1.

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.56:1
White text5.89:1

Values

HEX#7E5E40
RGBrgb(126, 94, 64)
HSLhsl(29, 33%, 37%)
OKLCHoklch(50.7% 0.061 63.9)

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 #7E5E40 5.89:1 AA Lc -84.6 Fine for body text
Black text on #7E5E40 3.56:1 AA large text Lc 24.6 Dividers and decoration only
#7E5E40 text on white 5.89:1 AA Lc 79.4 Fine for body text
#7E5E40 text on black 3.56:1 AA large text Lc -22.4 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E1D7CE

    oklch(88.5% 0.016 64.6)

  4. Step 300

    300

    #CFBDAE

    oklch(80.9% 0.029 62.2)

  5. Step 400

    400

    #B69B83

    oklch(70.7% 0.047 63.6)

  6. Step 500

    500

    #A48263

    oklch(63.1% 0.061 63.7)

  7. Step 600

    600

    #8E6B4A

    oklch(55.5% 0.065 64.2)

  8. Step 700

    700 (this color)

    #7E5E40

    oklch(50.7% 0.061 63.9)

  9. Step 800

    800

    #634931

    oklch(42.7% 0.051 63.5)

  10. Step 900

    900

    #503D2C

    oklch(37.6% 0.038 63.1)

  11. Step 950

    950

    #2F241A

    oklch(27% 0.024 63.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E5E40 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)#68603E0.038
Deuteranopia (no green cones)#7067400.034
Tritanopia (no blue cones)#8757560.046
Achromatopsia (no color)#6464640.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E5E40

    #7E5E40

    oklch(50.7% 0.061 63.9)

  • #476986

    #476986

    oklch(50.7% 0.061 245.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E5E40

    #7E5E40

    oklch(50.7% 0.061 63.9)

  • #84594E

    #84594E

    oklch(50.7% 0.06 34.9)

  • #71653C

    #71653C

    oklch(50.8% 0.06 93.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E5E40

    #7E5E40

    oklch(50.7% 0.061 63.9)

  • #386E7B

    #386E7B

    oklch(50.7% 0.061 215.4)

  • #5A6388

    #5A6388

    oklch(50.7% 0.06 273.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E5E40

    #7E5E40

    oklch(50.7% 0.061 63.9)

  • #397169

    #397169

    oklch(50.8% 0.061 183.5)

  • #6D5D82

    #6D5D82

    oklch(50.8% 0.06 304.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E5E40

    #7E5E40

    oklch(50.7% 0.061 63.9)

  • #497055

    #497055

    oklch(50.8% 0.062 153.5)

  • #476986

    #476986

    oklch(50.7% 0.061 245.1)

  • #7B5874

    #7B5874

    oklch(50.7% 0.061 333.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7E5E40 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.