#7F6840

Closest named color: Dirt Brown (#836539). oklch(53% 0.064 80.5), rgb(127, 104, 64).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (53%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.95:1
White text5.30:1

Values

HEX#7F6840
RGBrgb(127, 104, 64)
HSLhsl(38, 33%, 37%)
OKLCHoklch(53% 0.064 80.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 #7F6840 5.30:1 AA Lc -81.7 Fine for body text
Black text on #7F6840 3.95:1 AA large text Lc 27.7 Dividers and decoration only
#7F6840 text on white 5.30:1 AA Lc 76.4 Fine for body text
#7F6840 text on black 3.95:1 AA large text Lc -25.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 600.

  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

    #DFD8CE

    oklch(88.5% 0.016 77.1)

  4. Step 300

    300

    #CABFAC

    oklch(80.9% 0.029 81.5)

  5. Step 400

    400

    #B09E81

    oklch(70.7% 0.046 79.6)

  6. Step 500

    500

    #9C8661

    oklch(63.1% 0.058 80.3)

  7. Step 600

    600 (this color)

    #7F6840

    oklch(53% 0.064 80.5)

  8. Step 700

    700

    #725D39

    oklch(49% 0.059 80.2)

  9. Step 800

    800

    #5D4C2F

    oklch(42.7% 0.049 80.2)

  10. Step 900

    900

    #4C402A

    oklch(37.8% 0.038 82.2)

  11. Step 950

    950

    #2D2519

    oklch(27% 0.024 77.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F6840 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)#72683D0.023
Deuteranopia (no green cones)#776E410.020
Tritanopia (no blue cones)#88615E0.056
Achromatopsia (no color)#6B6B6B0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6840

    #7F6840

    oklch(53% 0.064 80.5)

  • #576C91

    #576C91

    oklch(52.9% 0.064 261.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6840

    #7F6840

    oklch(53% 0.064 80.5)

  • #8A614A

    #8A614A

    oklch(53% 0.064 50.2)

  • #6D6F43

    #6D6F43

    oklch(52.9% 0.063 110.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F6840

    #7F6840

    oklch(53% 0.064 80.5)

  • #43738A

    #43738A

    oklch(53.1% 0.063 230.3)

  • #6B668E

    #6B668E

    oklch(53.1% 0.062 289.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6840

    #7F6840

    oklch(53% 0.064 80.5)

  • #3A777B

    #3A777B

    oklch(53% 0.063 201.1)

  • #7D6083

    #7D6083

    oklch(53.1% 0.064 320.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6840

    #7F6840

    oklch(53% 0.064 80.5)

  • #437867

    #437867

    oklch(53% 0.063 171.1)

  • #576C91

    #576C91

    oklch(52.9% 0.064 261.5)

  • #885D71

    #885D71

    oklch(53% 0.063 350)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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