#7F6342

Closest named color: Dirt Brown (#836539). oklch(52% 0.06 70.5), rgb(127, 99, 66).

Aa

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

About this color

#7F6342 is a medium-dark, muted brown. In OKLCH its lightness is 52%, its chroma 0.060 and its hue 70°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.015 away. White text reads best on it, at 5.57:1.

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.76:1
White text5.57:1

Values

HEX#7F6342
RGBrgb(127, 99, 66)
HSLhsl(32, 32%, 38%)
OKLCHoklch(52% 0.06 70.5)

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 #7F6342 5.57:1 AA Lc -83.1 Fine for body text
Black text on #7F6342 3.76:1 AA large text Lc 26.3 Dividers and decoration only
#7F6342 text on white 5.57:1 AA Lc 77.8 Fine for body text
#7F6342 text on black 3.76:1 AA large text Lc -24.0 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

    #EDE9E4

    oklch(93.6% 0.008 73.7)

  3. Step 200

    200

    #E0D8CE

    oklch(88.6% 0.016 73.7)

  4. Step 300

    300

    #CDBEAD

    oklch(80.9% 0.029 70.9)

  5. Step 400

    400

    #B49C82

    oklch(70.7% 0.046 69.2)

  6. Step 500

    500

    #A18462

    oklch(63.2% 0.059 70.9)

  7. Step 600

    600

    #8C6D49

    oklch(55.7% 0.064 70.1)

  8. Step 700

    700 (this color)

    #7F6342

    oklch(52% 0.06 70.5)

  9. Step 800

    800

    #604A30

    oklch(42.6% 0.049 70.5)

  10. Step 900

    900

    #4F3E2B

    oklch(37.7% 0.038 69.4)

  11. Step 950

    950

    #2E2419

    oklch(26.8% 0.024 69.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F6342 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)#6D64400.031
Deuteranopia (no green cones)#736B430.029
Tritanopia (no blue cones)#885C5B0.050
Achromatopsia (no color)#6868680.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6342

    #7F6342

    oklch(52% 0.06 70.5)

  • #4F6C8A

    #4F6C8A

    oklch(52.1% 0.059 249.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6342

    #7F6342

    oklch(52% 0.06 70.5)

  • #875D4E

    #875D4E

    oklch(51.9% 0.06 40.5)

  • #706A41

    #706A41

    oklch(51.9% 0.059 101)

Open the analogous palette in the generator

Split complementary

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

  • #7F6342

    #7F6342

    oklch(52% 0.06 70.5)

  • #3F7181

    #3F7181

    oklch(52% 0.059 220.7)

  • #62658B

    #62658B

    oklch(51.9% 0.06 280.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6342

    #7F6342

    oklch(52% 0.06 70.5)

  • #3C7471

    #3C7471

    oklch(52% 0.059 190.9)

  • #745F83

    #745F83

    oklch(52% 0.061 310.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6342

    #7F6342

    oklch(52% 0.06 70.5)

  • #49745D

    #49745D

    oklch(52% 0.06 160)

  • #4F6C8A

    #4F6C8A

    oklch(52.1% 0.059 249.8)

  • #815B73

    #815B73

    oklch(51.9% 0.06 341.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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