#796C40

Closest named color: Dirt Brown (#836539). oklch(53.3% 0.064 93.5), rgb(121, 108, 64).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text4.03:1
White text5.20:1

Values

HEX#796C40
RGBrgb(121, 108, 64)
HSLhsl(46, 31%, 36%)
OKLCHoklch(53.3% 0.064 93.5)

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 #796C40 5.20:1 AA Lc -81.2 Fine for body text
Black text on #796C40 4.03:1 AA large text Lc 28.3 Dividers and decoration only
#796C40 text on white 5.20:1 AA Lc 75.8 Fine for body text
#796C40 text on black 4.03:1 AA large text Lc -25.9 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

    #DCD9CE

    oklch(88.5% 0.015 94.2)

  4. Step 300

    300

    #C7C1AC

    oklch(81% 0.029 93.8)

  5. Step 400

    400

    #AAA080

    oklch(70.6% 0.046 92.8)

  6. Step 500

    500

    #958960

    oklch(63% 0.059 93.7)

  7. Step 600

    600 (this color)

    #796C40

    oklch(53.3% 0.064 93.5)

  8. Step 700

    700

    #6C6038

    oklch(49.1% 0.059 93.3)

  9. Step 800

    800

    #584F2F

    oklch(42.8% 0.049 94.2)

  10. Step 900

    900

    #48412A

    oklch(37.6% 0.038 93.2)

  11. Step 950

    950

    #2A2619

    oklch(26.9% 0.023 93)

Export this scale for Tailwind in the Tailwind colors tool

#796C40 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)#756A3D0.010
Deuteranopia (no green cones)#786E420.005
Tritanopia (no blue cones)#8166610.058
Achromatopsia (no color)#6D6D6D0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #796C40

    #796C40

    oklch(53.3% 0.064 93.5)

  • #606A92

    #606A92

    oklch(53.2% 0.064 273.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796C40

    #796C40

    oklch(53.3% 0.064 93.5)

  • #876545

    #876545

    oklch(53.4% 0.064 64)

  • #657349

    #657349

    oklch(53.3% 0.064 123.6)

Open the analogous palette in the generator

Split complementary

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

  • #796C40

    #796C40

    oklch(53.3% 0.064 93.5)

  • #4B718F

    #4B718F

    oklch(53.3% 0.064 243.2)

  • #74648B

    #74648B

    oklch(53.3% 0.063 303.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796C40

    #796C40

    oklch(53.3% 0.064 93.5)

  • #3C7683

    #3C7683

    oklch(53.2% 0.064 214.1)

  • #845F7C

    #845F7C

    oklch(53.4% 0.064 334.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796C40

    #796C40

    oklch(53.3% 0.064 93.5)

  • #3D7970

    #3D7970

    oklch(53.3% 0.064 182.9)

  • #606A92

    #606A92

    oklch(53.2% 0.064 273.2)

  • #8C5D69

    #8C5D69

    oklch(53.3% 0.064 2.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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