#796D3C

Closest named color: Dirt Brown (#836539). oklch(53.4% 0.07 96), rgb(121, 109, 60).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamuted (0.070)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text4.06:1
White text5.16:1

Values

HEX#796D3C
RGBrgb(121, 109, 60)
HSLhsl(48, 34%, 35%)
OKLCHoklch(53.4% 0.07 96)

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 #796D3C 5.16:1 AA Lc -80.9 Fine for body text
Black text on #796D3C 4.06:1 AA large text Lc 28.5 Dividers and decoration only
#796D3C text on white 5.16:1 AA Lc 75.5 Fine for body text
#796D3C text on black 4.06:1 AA large text Lc -26.2 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

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CD

    oklch(88.4% 0.017 95.2)

  4. Step 300

    300

    #C6C1AA

    oklch(80.9% 0.032 96.9)

  5. Step 400

    400

    #AAA17D

    oklch(70.7% 0.051 95.7)

  6. Step 500

    500

    #958A5C

    oklch(63.2% 0.065 96.3)

  7. Step 600

    600 (this color)

    #796D3C

    oklch(53.4% 0.07 96)

  8. Step 700

    700

    #6C6134

    oklch(49.2% 0.065 96)

  9. Step 800

    800

    #584F2C

    oklch(42.8% 0.053 95.4)

  10. Step 900

    900

    #484227

    oklch(37.8% 0.043 97.2)

  11. Step 950

    950

    #2A2617

    oklch(26.8% 0.026 95)

Export this scale for Tailwind in the Tailwind colors tool

#796D3C 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)#766B380.009
Deuteranopia (no green cones)#796F3E0.006
Tritanopia (no blue cones)#8166610.064
Achromatopsia (no color)#6D6D6D0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #796D3C

    #796D3C

    oklch(53.4% 0.07 96)

  • #626A96

    #626A96

    oklch(53.5% 0.07 275.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796D3C

    #796D3C

    oklch(53.4% 0.07 96)

  • #896540

    #896540

    oklch(53.5% 0.07 66.2)

  • #637547

    #637547

    oklch(53.6% 0.071 126.1)

Open the analogous palette in the generator

Split complementary

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

  • #796D3C

    #796D3C

    oklch(53.4% 0.07 96)

  • #4A7193

    #4A7193

    oklch(53.4% 0.069 245.9)

  • #77638D

    #77638D

    oklch(53.5% 0.068 306)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796D3C

    #796D3C

    oklch(53.4% 0.07 96)

  • #377787

    #377787

    oklch(53.4% 0.07 216.5)

  • #875D7D

    #875D7D

    oklch(53.4% 0.071 335.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796D3C

    #796D3C

    oklch(53.4% 0.07 96)

  • #367A73

    #367A73

    oklch(53.4% 0.07 186.3)

  • #626A96

    #626A96

    oklch(53.5% 0.07 275.9)

  • #905C67

    #905C67

    oklch(53.5% 0.07 5.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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