#796B33

Closest named color: Dirt Brown (#836539). oklch(52.8% 0.078 95.5), rgb(121, 107, 51).

Aa

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

About this color

#796B33 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.078 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.29:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.96:1
White text5.29:1

Values

HEX#796B33
RGBrgb(121, 107, 51)
HSLhsl(48, 41%, 34%)
OKLCHoklch(52.8% 0.078 95.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 #796B33 5.29:1 AA Lc -81.6 Fine for body text
Black text on #796B33 3.96:1 AA large text Lc 27.8 Dividers and decoration only
#796B33 text on white 5.29:1 AA Lc 76.3 Fine for body text
#796B33 text on black 3.96:1 AA large text Lc -25.4 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

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDD9CB

    oklch(88.5% 0.019 93.7)

  4. Step 300

    300

    #C7C1A8

    oklch(80.9% 0.035 95.9)

  5. Step 400

    400

    #ABA179

    oklch(70.7% 0.056 95.7)

  6. Step 500

    500

    #968956

    oklch(62.9% 0.071 95.5)

  7. Step 600

    600 (this color)

    #796B33

    oklch(52.8% 0.078 95.5)

  8. Step 700

    700

    #6D602D

    oklch(49% 0.072 95.3)

  9. Step 800

    800

    #594F26

    oklch(42.8% 0.06 95.9)

  10. Step 900

    900

    #494124

    oklch(37.6% 0.046 94.5)

  11. Step 950

    950

    #2B2615

    oklch(26.9% 0.03 93.6)

Export this scale for Tailwind in the Tailwind colors tool

#796B33 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)#75692E0.010
Deuteranopia (no green cones)#786D350.005
Tritanopia (no blue cones)#82645E0.070
Achromatopsia (no color)#6B6B6B0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #796B33

    #796B33

    oklch(52.8% 0.078 95.5)

  • #5F6798

    #5F6798

    oklch(52.8% 0.078 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796B33

    #796B33

    oklch(52.8% 0.078 95.5)

  • #8A6238

    #8A6238

    oklch(52.9% 0.078 66.1)

  • #607340

    #607340

    oklch(52.7% 0.078 125.6)

Open the analogous palette in the generator

Split complementary

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

  • #796B33

    #796B33

    oklch(52.8% 0.078 95.5)

  • #437096

    #437096

    oklch(52.9% 0.078 245.5)

  • #76608F

    #76608F

    oklch(52.9% 0.076 305.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796B33

    #796B33

    oklch(52.8% 0.078 95.5)

  • #2A7788

    #2A7788

    oklch(53% 0.078 215.2)

  • #885A7D

    #885A7D

    oklch(52.9% 0.078 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796B33

    #796B33

    oklch(52.8% 0.078 95.5)

  • #2A7A72

    #2A7A72

    oklch(52.9% 0.078 185.8)

  • #5F6798

    #5F6798

    oklch(52.8% 0.078 276.3)

  • #915865

    #915865

    oklch(52.8% 0.077 5.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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