#796D11

Closest named color: Brown Green (#706C11). oklch(53% 0.105 101.2), rgb(121, 109, 17).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text4.00:1
White text5.23:1

Values

HEX#796D11
RGBrgb(121, 109, 17)
HSLhsl(53, 75%, 27%)
OKLCHoklch(53% 0.105 101.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 #796D11 5.23:1 AA Lc -81.2 Fine for body text
Black text on #796D11 4.00:1 AA large text Lc 28.2 Dividers and decoration only
#796D11 text on white 5.23:1 AA Lc 75.9 Fine for body text
#796D11 text on black 4.00:1 AA large text Lc -25.9 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC7

    oklch(88.5% 0.026 102)

  4. Step 300

    300

    #C7C29F

    oklch(80.9% 0.048 100.6)

  5. Step 400

    400

    #AAA26B

    oklch(70.6% 0.075 101)

  6. Step 500

    500

    #968B41

    oklch(63.1% 0.096 101)

  7. Step 600

    600 (this color)

    #796D11

    oklch(53% 0.105 101.2)

  8. Step 700

    700

    #6D620D

    oklch(49.2% 0.098 101.2)

  9. Step 800

    800

    #595010

    oklch(42.8% 0.081 100.9)

  10. Step 900

    900

    #494216

    oklch(37.6% 0.063 100.3)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#796D11 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)#786A000.009
Deuteranopia (no green cones)#7C6E190.007
Tritanopia (no blue cones)#83645D0.098
Achromatopsia (no color)#6C6C6C0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #796D11

    #796D11

    oklch(53% 0.105 101.2)

  • #6263A7

    #6263A7

    oklch(53% 0.106 281.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796D11

    #796D11

    oklch(53% 0.105 101.2)

  • #916017

    #916017

    oklch(53% 0.105 71.3)

  • #567833

    #567833

    oklch(53% 0.105 131)

Open the analogous palette in the generator

Split complementary

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

  • #796D11

    #796D11

    oklch(53% 0.105 101.2)

  • #396FA6

    #396FA6

    oklch(53% 0.104 250.8)

  • #7F5998

    #7F5998

    oklch(53% 0.105 311)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796D11

    #796D11

    oklch(53% 0.105 101.2)

  • #007893

    #007893

    oklch(53% 0.097 220.8)

  • #94527E

    #94527E

    oklch(53.1% 0.105 340.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796D11

    #796D11

    oklch(53% 0.105 101.2)

  • #007C79

    #007C79

    oklch(53% 0.091 191.8)

  • #6263A7

    #6263A7

    oklch(53% 0.106 281.5)

  • #9F505C

    #9F505C

    oklch(53.1% 0.105 11.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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