#796E31

Closest named color: Brown Green (#706C11). oklch(53.5% 0.082 99.2), rgb(121, 110, 49).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text4.08:1
White text5.13:1

Values

HEX#796E31
RGBrgb(121, 110, 49)
HSLhsl(51, 42%, 33%)
OKLCHoklch(53.5% 0.082 99.2)

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 #796E31 5.13:1 AA Lc -80.7 Fine for body text
Black text on #796E31 4.08:1 AA large text Lc 28.7 Dividers and decoration only
#796E31 text on white 5.13:1 AA Lc 75.4 Fine for body text
#796E31 text on black 4.08:1 AA large text Lc -26.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

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DCDACA

    oklch(88.6% 0.022 101)

  4. Step 300

    300

    #C6C2A7

    oklch(81% 0.037 100.2)

  5. Step 400

    400

    #A9A277

    oklch(70.7% 0.06 99.9)

  6. Step 500

    500

    #958B53

    oklch(63.2% 0.077 99.4)

  7. Step 600

    600 (this color)

    #796E31

    oklch(53.5% 0.082 99.2)

  8. Step 700

    700

    #6B612A

    oklch(49% 0.076 99.1)

  9. Step 800

    800

    #575024

    oklch(42.8% 0.064 100.4)

  10. Step 900

    900

    #484222

    oklch(37.7% 0.049 98.9)

  11. Step 950

    950

    #2A2714

    oklch(27% 0.032 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#796E31 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)#786B2B0.009
Deuteranopia (no green cones)#7B6F340.005
Tritanopia (no blue cones)#8267600.074
Achromatopsia (no color)#6D6D6D0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #796E31

    #796E31

    oklch(53.5% 0.082 99.2)

  • #63689D

    #63689D

    oklch(53.5% 0.083 279.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796E31

    #796E31

    oklch(53.5% 0.082 99.2)

  • #8C6434

    #8C6434

    oklch(53.5% 0.083 69.4)

  • #5E7742

    #5E7742

    oklch(53.6% 0.083 129.5)

Open the analogous palette in the generator

Split complementary

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

  • #796E31

    #796E31

    oklch(53.5% 0.082 99.2)

  • #46719B

    #46719B

    oklch(53.6% 0.082 249)

  • #7B6092

    #7B6092

    oklch(53.6% 0.082 308.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796E31

    #796E31

    oklch(53.5% 0.082 99.2)

  • #28788E

    #28788E

    oklch(53.4% 0.083 219.9)

  • #8D5A7D

    #8D5A7D

    oklch(53.5% 0.082 339.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796E31

    #796E31

    oklch(53.5% 0.082 99.2)

  • #227C77

    #227C77

    oklch(53.4% 0.082 189.5)

  • #63689D

    #63689D

    oklch(53.5% 0.083 279.1)

  • #965863

    #965863

    oklch(53.4% 0.083 8.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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