#796F3D

Closest named color: Dirt Brown (#836539). oklch(53.9% 0.07 98.3), rgb(121, 111, 61).

Aa

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

About this color

#796F3D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 54%, its chroma 0.070 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.030 away. White text reads best on it, at 5.05:1.

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text4.15:1
White text5.05:1

Values

HEX#796F3D
RGBrgb(121, 111, 61)
HSLhsl(50, 33%, 36%)
OKLCHoklch(53.9% 0.07 98.3)

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 #796F3D 5.05:1 AA Lc -80.3 Fine for body text
Black text on #796F3D 4.15:1 AA large text Lc 29.2 Dividers and decoration only
#796F3D text on white 5.05:1 AA Lc 74.9 Content text, not long reading
#796F3D text on black 4.15:1 AA large text Lc -26.8 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

    #A9A17D

    oklch(70.6% 0.051 97)

  6. Step 500

    500

    #938A5C

    oklch(63% 0.065 98.5)

  7. Step 600

    600 (this color)

    #796F3D

    oklch(53.9% 0.07 98.3)

  8. Step 700

    700

    #6A6134

    oklch(49% 0.065 98.3)

  9. Step 800

    800

    #574F2B

    oklch(42.6% 0.054 97.2)

  10. Step 900

    900

    #474227

    oklch(37.7% 0.043 99)

  11. Step 950

    950

    #2A2717

    oklch(27.1% 0.028 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#796F3D 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)#786D390.007
Deuteranopia (no green cones)#7B703F0.005
Tritanopia (no blue cones)#8169630.063
Achromatopsia (no color)#6F6F6F0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #796F3D

    #796F3D

    oklch(53.9% 0.07 98.3)

  • #656A97

    #656A97

    oklch(53.8% 0.071 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796F3D

    #796F3D

    oklch(53.9% 0.07 98.3)

  • #8A6740

    #8A6740

    oklch(54% 0.071 68.4)

  • #627649

    #627649

    oklch(53.8% 0.07 128.1)

Open the analogous palette in the generator

Split complementary

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

  • #796F3D

    #796F3D

    oklch(53.9% 0.07 98.3)

  • #4D7296

    #4D7296

    oklch(53.9% 0.071 248.6)

  • #7A638E

    #7A638E

    oklch(53.9% 0.071 308.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796F3D

    #796F3D

    oklch(53.9% 0.07 98.3)

  • #38788A

    #38788A

    oklch(53.8% 0.071 218.8)

  • #8A5E7D

    #8A5E7D

    oklch(53.9% 0.072 338)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796F3D

    #796F3D

    oklch(53.9% 0.07 98.3)

  • #367C76

    #367C76

    oklch(54% 0.071 187.7)

  • #656A97

    #656A97

    oklch(53.8% 0.071 278.9)

  • #925D66

    #925D66

    oklch(53.9% 0.07 8.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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