#796942

Closest named color: Dirt Brown (#836539). oklch(52.6% 0.059 88), rgb(121, 105, 66).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (53%)
Chromamuted (0.059)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.91:1
White text5.36:1

Values

HEX#796942
RGBrgb(121, 105, 66)
HSLhsl(43, 29%, 37%)
OKLCHoklch(52.6% 0.059 88)

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 #796942 5.36:1 AA Lc -82.0 Fine for body text
Black text on #796942 3.91:1 AA large text Lc 27.4 Dividers and decoration only
#796942 text on white 5.36:1 AA Lc 76.7 Fine for body text
#796942 text on black 3.91:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #ECEAE4

    oklch(93.7% 0.008 91.5)

  3. Step 200

    200

    #DDD9CE

    oklch(88.5% 0.015 90.2)

  4. Step 300

    300

    #C8C0AE

    oklch(80.9% 0.026 86.9)

  5. Step 400

    400

    #ACA083

    oklch(70.8% 0.043 88.2)

  6. Step 500

    500

    #978863

    oklch(63.1% 0.055 88.5)

  7. Step 600

    600 (this color)

    #796942

    oklch(52.6% 0.059 88)

  8. Step 700

    700

    #6E5F3B

    oklch(49.1% 0.056 87.7)

  9. Step 800

    800

    #594E31

    oklch(42.7% 0.046 89.5)

  10. Step 900

    900

    #49412C

    oklch(37.7% 0.035 89.6)

  11. Step 950

    950

    #2B261A

    oklch(27% 0.022 88)

Export this scale for Tailwind in the Tailwind colors tool

#796942 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)#71683F0.015
Deuteranopia (no green cones)#756C430.010
Tritanopia (no blue cones)#81635F0.053
Achromatopsia (no color)#6B6B6B0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #796942

    #796942

    oklch(52.6% 0.059 88)

  • #5C6A8E

    #5C6A8E

    oklch(52.7% 0.06 267.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796942

    #796942

    oklch(52.6% 0.059 88)

  • #856248

    #856248

    oklch(52.6% 0.06 57.6)

  • #677048

    #677048

    oklch(52.7% 0.06 118.8)

Open the analogous palette in the generator

Split complementary

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

  • #796942

    #796942

    oklch(52.6% 0.059 88)

  • #497089

    #497089

    oklch(52.6% 0.059 237.6)

  • #6F6489

    #6F6489

    oklch(52.8% 0.059 298)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796942

    #796942

    oklch(52.6% 0.059 88)

  • #3E747D

    #3E747D

    oklch(52.5% 0.059 209.4)

  • #7E5F7C

    #7E5F7C

    oklch(52.7% 0.058 328.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796942

    #796942

    oklch(52.6% 0.059 88)

  • #42766B

    #42766B

    oklch(52.6% 0.059 178.7)

  • #5C6A8E

    #5C6A8E

    oklch(52.7% 0.06 267.9)

  • #875C6A

    #875C6A

    oklch(52.5% 0.059 358.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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