#796642

Closest named color: Dirt Brown (#836539). oklch(52% 0.057 82.8), rgb(121, 102, 66).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.79:1
White text5.53:1

Values

HEX#796642
RGBrgb(121, 102, 66)
HSLhsl(39, 29%, 37%)
OKLCHoklch(52% 0.057 82.8)

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 #796642 5.53:1 AA Lc -82.9 Fine for body text
Black text on #796642 3.79:1 AA large text Lc 26.4 Dividers and decoration only
#796642 text on white 5.53:1 AA Lc 77.6 Fine for body text
#796642 text on black 3.79:1 AA large text Lc -24.1 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

    #ECE9E4

    oklch(93.5% 0.007 80.7)

  3. Step 200

    200

    #DED8CE

    oklch(88.4% 0.015 80.7)

  4. Step 300

    300

    #C9BFAD

    oklch(80.8% 0.027 82.4)

  5. Step 400

    400

    #AE9F82

    oklch(70.8% 0.044 83.8)

  6. Step 500

    500

    #9A8762

    oklch(63.1% 0.057 83.7)

  7. Step 600

    600

    #857049

    oklch(55.6% 0.061 82.3)

  8. Step 700

    700 (this color)

    #796642

    oklch(52% 0.057 82.8)

  9. Step 800

    800

    #5C4D30

    oklch(42.8% 0.048 83.2)

  10. Step 900

    900

    #4B402B

    oklch(37.7% 0.036 83.2)

  11. Step 950

    950

    #2C2519

    oklch(26.9% 0.023 80.8)

Export this scale for Tailwind in the Tailwind colors tool

#796642 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)#6F663F0.018
Deuteranopia (no green cones)#736A430.014
Tritanopia (no blue cones)#81605D0.050
Achromatopsia (no color)#6868680.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #796642

    #796642

    oklch(52% 0.057 82.8)

  • #57698A

    #57698A

    oklch(51.9% 0.057 262.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796642

    #796642

    oklch(52% 0.057 82.8)

  • #83604A

    #83604A

    oklch(52% 0.056 53.3)

  • #696D46

    #696D46

    oklch(52.1% 0.057 113.2)

Open the analogous palette in the generator

Split complementary

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

  • #796642

    #796642

    oklch(52% 0.057 82.8)

  • #466F85

    #466F85

    oklch(52% 0.058 232.9)

  • #6A6387

    #6A6387

    oklch(52% 0.057 293.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796642

    #796642

    oklch(52% 0.057 82.8)

  • #3E7377

    #3E7377

    oklch(52.1% 0.057 201.9)

  • #795E7C

    #795E7C

    oklch(52% 0.057 323)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796642

    #796642

    oklch(52% 0.057 82.8)

  • #447465

    #447465

    oklch(52% 0.058 172)

  • #57698A

    #57698A

    oklch(51.9% 0.057 262.3)

  • #835B6C

    #835B6C

    oklch(51.9% 0.058 352.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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