#796B3E

Closest named color: Dirt Brown (#836539). oklch(53% 0.066 92.7), rgb(121, 107, 62).

Aa

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

About this color

#796B3E is a medium-dark, muted yellow. In OKLCH its lightness is 53%, its chroma 0.066 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.022 away. White text reads best on it, at 5.26:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.98:1
White text5.26:1

Values

HEX#796B3E
RGBrgb(121, 107, 62)
HSLhsl(46, 32%, 36%)
OKLCHoklch(53% 0.066 92.7)

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 #796B3E 5.26:1 AA Lc -81.5 Fine for body text
Black text on #796B3E 3.98:1 AA large text Lc 27.9 Dividers and decoration only
#796B3E text on white 5.26:1 AA Lc 76.1 Fine for body text
#796B3E text on black 3.98:1 AA large text Lc -25.6 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE4

    oklch(93.7% 0.008 91.5)

  3. Step 200

    200

    #DDD9CD

    oklch(88.5% 0.017 91.6)

  4. Step 300

    300

    #C7C1AC

    oklch(81% 0.029 93.8)

  5. Step 400

    400

    #ABA07F

    oklch(70.7% 0.048 91.8)

  6. Step 500

    500

    #96895F

    oklch(63.1% 0.06 92.9)

  7. Step 600

    600 (this color)

    #796B3E

    oklch(53% 0.066 92.7)

  8. Step 700

    700

    #6D6037

    oklch(49.2% 0.061 92.4)

  9. Step 800

    800

    #594E2E

    oklch(42.7% 0.05 91.1)

  10. Step 900

    900

    #494129

    oklch(37.7% 0.039 91.7)

  11. Step 950

    950

    #2B2618

    oklch(27% 0.025 90.7)

Export this scale for Tailwind in the Tailwind colors tool

#796B3E 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)#74693A0.011
Deuteranopia (no green cones)#776E400.008
Tritanopia (no blue cones)#8165600.059
Achromatopsia (no color)#6C6C6C0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #796B3E

    #796B3E

    oklch(53% 0.066 92.7)

  • #5F6A92

    #5F6A92

    oklch(53.1% 0.065 272.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796B3E

    #796B3E

    oklch(53% 0.066 92.7)

  • #876343

    #876343

    oklch(52.9% 0.066 62.3)

  • #657247

    #657247

    oklch(53% 0.065 122.3)

Open the analogous palette in the generator

Split complementary

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

  • #796B3E

    #796B3E

    oklch(53% 0.066 92.7)

  • #49708F

    #49708F

    oklch(52.9% 0.066 243.4)

  • #73638C

    #73638C

    oklch(53.1% 0.066 302.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796B3E

    #796B3E

    oklch(53% 0.066 92.7)

  • #397682

    #397682

    oklch(53% 0.066 212.1)

  • #835E7C

    #835E7C

    oklch(53.1% 0.065 333.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796B3E

    #796B3E

    oklch(53% 0.066 92.7)

  • #3B786F

    #3B786F

    oklch(52.9% 0.065 183)

  • #5F6A92

    #5F6A92

    oklch(53.1% 0.065 272.2)

  • #8C5C68

    #8C5C68

    oklch(53% 0.065 3.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #796B3E 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.