#796A22

Closest named color: Brown Green (#706C11). oklch(52.4% 0.092 97.2), rgb(121, 106, 34).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.092)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text3.89:1
White text5.38:1

Values

HEX#796A22
RGBrgb(121, 106, 34)
HSLhsl(50, 56%, 30%)
OKLCHoklch(52.4% 0.092 97.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 #796A22 5.38:1 AA Lc -82.1 Fine for body text
Black text on #796A22 3.89:1 AA large text Lc 27.3 Dividers and decoration only
#796A22 text on white 5.38:1 AA Lc 76.8 Fine for body text
#796A22 text on black 3.89:1 AA large text Lc -25.0 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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DDD9C9

    oklch(88.4% 0.022 95.3)

  4. Step 300

    300

    #C8C1A3

    oklch(80.9% 0.041 96.3)

  5. Step 400

    400

    #ACA171

    oklch(70.7% 0.066 96.8)

  6. Step 500

    500

    #988A4B

    oklch(63.2% 0.085 97.1)

  7. Step 600

    600 (this color)

    #796A22

    oklch(52.4% 0.092 97.2)

  8. Step 700

    700

    #6E611F

    oklch(49.2% 0.086 97.9)

  9. Step 800

    800

    #5A4F1C

    oklch(42.7% 0.071 97.1)

  10. Step 900

    900

    #4A421D

    oklch(37.8% 0.056 97.3)

  11. Step 950

    950

    #2B2712

    oklch(27.1% 0.035 98.8)

Export this scale for Tailwind in the Tailwind colors tool

#796A22 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)#7567180.013
Deuteranopia (no green cones)#796C260.006
Tritanopia (no blue cones)#83625B0.084
Achromatopsia (no color)#6A6A6A0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #796A22

    #796A22

    oklch(52.4% 0.092 97.2)

  • #5D649F

    #5D649F

    oklch(52.3% 0.093 277.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796A22

    #796A22

    oklch(52.4% 0.092 97.2)

  • #8D5F29

    #8D5F29

    oklch(52.4% 0.092 67.6)

  • #5B7436

    #5B7436

    oklch(52.4% 0.093 127.5)

Open the analogous palette in the generator

Split complementary

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

  • #796A22

    #796A22

    oklch(52.4% 0.092 97.2)

  • #3A6E9C

    #3A6E9C

    oklch(52.3% 0.092 247.3)

  • #785B94

    #785B94

    oklch(52.4% 0.093 306.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796A22

    #796A22

    oklch(52.4% 0.092 97.2)

  • #08778D

    #08778D

    oklch(52.6% 0.092 217)

  • #8C547D

    #8C547D

    oklch(52.3% 0.093 337.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796A22

    #796A22

    oklch(52.4% 0.092 97.2)

  • #007B73

    #007B73

    oklch(52.5% 0.092 186.9)

  • #5D649F

    #5D649F

    oklch(52.3% 0.093 277.5)

  • #975261

    #975261

    oklch(52.5% 0.093 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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