#796740

Closest named color: Dirt Brown (#836539). oklch(52.2% 0.06 85.6), rgb(121, 103, 64).

Aa

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

About this color

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

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

Values

HEX#796740
RGBrgb(121, 103, 64)
HSLhsl(41, 31%, 36%)
OKLCHoklch(52.2% 0.06 85.6)

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 #796740 5.48:1 AA Lc -82.7 Fine for body text
Black text on #796740 3.82:1 AA large text Lc 26.7 Dividers and decoration only
#796740 text on white 5.48:1 AA Lc 77.4 Fine for body text
#796740 text on black 3.82:1 AA large text Lc -24.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECE9E4

    oklch(93.5% 0.007 80.7)

  3. Step 200

    200

    #DED9CD

    oklch(88.6% 0.017 88)

  4. Step 300

    300

    #C9C0AC

    oklch(81% 0.029 86.7)

  5. Step 400

    400

    #AE9F80

    oklch(70.7% 0.046 85.2)

  6. Step 500

    500

    #9A8760

    oklch(63.1% 0.059 84.8)

  7. Step 600

    600

    #847146

    oklch(55.6% 0.065 86.5)

  8. Step 700

    700 (this color)

    #796740

    oklch(52.2% 0.06 85.6)

  9. Step 800

    800

    #5B4D2E

    oklch(42.6% 0.05 86)

  10. Step 900

    900

    #4B4029

    oklch(37.7% 0.039 85.1)

  11. Step 950

    950

    #2C2619

    oklch(27.1% 0.024 86)

Export this scale for Tailwind in the Tailwind colors tool

#796740 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)#70663D0.016
Deuteranopia (no green cones)#746B410.013
Tritanopia (no blue cones)#81615D0.053
Achromatopsia (no color)#6969690.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #796740

    #796740

    oklch(52.2% 0.06 85.6)

  • #59698D

    #59698D

    oklch(52.2% 0.06 265.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796740

    #796740

    oklch(52.2% 0.06 85.6)

  • #856047

    #856047

    oklch(52.1% 0.061 55)

  • #686E45

    #686E45

    oklch(52.2% 0.06 115.3)

Open the analogous palette in the generator

Split complementary

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

  • #796740

    #796740

    oklch(52.2% 0.06 85.6)

  • #466F87

    #466F87

    oklch(52.1% 0.06 235.2)

  • #6C6289

    #6C6289

    oklch(52.1% 0.062 296)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796740

    #796740

    oklch(52.2% 0.06 85.6)

  • #3B737A

    #3B737A

    oklch(52% 0.06 206.1)

  • #7C5D7C

    #7C5D7C

    oklch(52.1% 0.061 326.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796740

    #796740

    oklch(52.2% 0.06 85.6)

  • #417568

    #417568

    oklch(52.2% 0.06 175.9)

  • #59698D

    #59698D

    oklch(52.2% 0.06 265.8)

  • #865B6B

    #865B6B

    oklch(52.2% 0.061 355.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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