#796B41

Closest named color: Dirt Brown (#836539). oklch(53.1% 0.062 91.7), rgb(121, 107, 65).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.99:1
White text5.25:1

Values

HEX#796B41
RGBrgb(121, 107, 65)
HSLhsl(45, 30%, 36%)
OKLCHoklch(53.1% 0.062 91.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 #796B41 5.25:1 AA Lc -81.5 Fine for body text
Black text on #796B41 3.99:1 AA large text Lc 28.0 Dividers and decoration only
#796B41 text on white 5.25:1 AA Lc 76.1 Fine for body text
#796B41 text on black 3.99: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

    #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

    #C7C0AD

    oklch(80.8% 0.027 90.1)

  5. Step 400

    400

    #ABA081

    oklch(70.7% 0.045 90.8)

  6. Step 500

    500

    #968962

    oklch(63.2% 0.057 91.8)

  7. Step 600

    600 (this color)

    #796B41

    oklch(53.1% 0.062 91.7)

  8. Step 700

    700

    #6D6039

    oklch(49.2% 0.059 91.6)

  9. Step 800

    800

    #584E30

    oklch(42.6% 0.047 91.7)

  10. Step 900

    900

    #49412A

    oklch(37.7% 0.038 91.1)

  11. Step 950

    950

    #2B2619

    oklch(27% 0.024 89.4)

Export this scale for Tailwind in the Tailwind colors tool

#796B41 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)#746A3E0.010
Deuteranopia (no green cones)#776E420.009
Tritanopia (no blue cones)#8165610.057
Achromatopsia (no color)#6C6C6C0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #796B41

    #796B41

    oklch(53.1% 0.062 91.7)

  • #5F6A90

    #5F6A90

    oklch(53% 0.061 271.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796B41

    #796B41

    oklch(53.1% 0.062 91.7)

  • #866446

    #866446

    oklch(53% 0.062 62.3)

  • #667249

    #667249

    oklch(53.1% 0.062 121.8)

Open the analogous palette in the generator

Split complementary

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

  • #796B41

    #796B41

    oklch(53.1% 0.062 91.7)

  • #4B718D

    #4B718D

    oklch(53.2% 0.062 241.3)

  • #72648A

    #72648A

    oklch(53.1% 0.061 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796B41

    #796B41

    oklch(53.1% 0.062 91.7)

  • #3D7681

    #3D7681

    oklch(53.2% 0.062 211.6)

  • #815F7C

    #815F7C

    oklch(53% 0.061 331.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796B41

    #796B41

    oklch(53.1% 0.062 91.7)

  • #3F786E

    #3F786E

    oklch(53.1% 0.063 181.1)

  • #5F6A90

    #5F6A90

    oklch(53% 0.061 271.7)

  • #8B5D69

    #8B5D69

    oklch(53.1% 0.062 2.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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