#796A2A

Closest named color: Brown Green (#706C11). oklch(52.5% 0.085 96.1), rgb(121, 106, 42).

Aa

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

About this color

#796A2A is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.085 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.027 away. White text reads best on it, at 5.37:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text3.90:1
White text5.37:1

Values

HEX#796A2A
RGBrgb(121, 106, 42)
HSLhsl(49, 48%, 32%)
OKLCHoklch(52.5% 0.085 96.1)

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 #796A2A 5.37:1 AA Lc -82.0 Fine for body text
Black text on #796A2A 3.90:1 AA large text Lc 27.4 Dividers and decoration only
#796A2A text on white 5.37:1 AA Lc 76.7 Fine for body text
#796A2A text on black 3.90:1 AA large text Lc -25.1 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

    #DDD9CA

    oklch(88.4% 0.021 94.5)

  4. Step 300

    300

    #C8C1A5

    oklch(80.9% 0.039 95.5)

  5. Step 400

    400

    #ACA175

    oklch(70.7% 0.061 95.8)

  6. Step 500

    500

    #978A50

    oklch(63.2% 0.079 97.1)

  7. Step 600

    600 (this color)

    #796A2A

    oklch(52.5% 0.085 96.1)

  8. Step 700

    700

    #6E6026

    oklch(49% 0.079 95.7)

  9. Step 800

    800

    #5A4F21

    oklch(42.8% 0.066 96)

  10. Step 900

    900

    #4A4220

    oklch(37.9% 0.052 96.4)

  11. Step 950

    950

    #2B2613

    oklch(26.9% 0.033 95.1)

Export this scale for Tailwind in the Tailwind colors tool

#796A2A 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)#7468230.012
Deuteranopia (no green cones)#786D2D0.008
Tritanopia (no blue cones)#82625C0.078
Achromatopsia (no color)#6A6A6A0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #796A2A

    #796A2A

    oklch(52.5% 0.085 96.1)

  • #5D669C

    #5D669C

    oklch(52.6% 0.086 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796A2A

    #796A2A

    oklch(52.5% 0.085 96.1)

  • #8C6030

    #8C6030

    oklch(52.6% 0.086 66.3)

  • #5E733A

    #5E733A

    oklch(52.4% 0.086 125.8)

Open the analogous palette in the generator

Split complementary

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

  • #796A2A

    #796A2A

    oklch(52.5% 0.085 96.1)

  • #3E6F99

    #3E6F99

    oklch(52.6% 0.085 246.2)

  • #775D91

    #775D91

    oklch(52.5% 0.085 306.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796A2A

    #796A2A

    oklch(52.5% 0.085 96.1)

  • #1B768A

    #1B768A

    oklch(52.4% 0.086 216.6)

  • #89577D

    #89577D

    oklch(52.5% 0.085 336)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796A2A

    #796A2A

    oklch(52.5% 0.085 96.1)

  • #197A72

    #197A72

    oklch(52.5% 0.085 186.4)

  • #5D669C

    #5D669C

    oklch(52.6% 0.086 275.8)

  • #945563

    #945563

    oklch(52.6% 0.085 6.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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