#797726

Closest named color: Murky Green (#6C7A0E). oklch(55.5% 0.102 107.9), rgb(121, 119, 38).

Aa

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

About this color

#797726 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 55%, its chroma 0.102 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Murky Green (#6C7A0E), ΔE 0.029 away. White text reads best on it, at 4.68:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameMurky Green (#6C7A0E)
Black text4.47:1
White text4.68:1

Values

HEX#797726
RGBrgb(121, 119, 38)
HSLhsl(59, 52%, 31%)
OKLCHoklch(55.5% 0.102 107.9)

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 #797726 4.68:1 AA Lc -77.9 Fine for body text
Black text on #797726 4.47:1 AA large text Lc 31.6 Non-text elements, placeholder text
#797726 text on white 4.68:1 AA Lc 72.5 Content text, not long reading
#797726 text on black 4.47:1 AA large text Lc -29.2 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

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #DADBC8

    oklch(88.5% 0.026 109.4)

  4. Step 300

    300

    #C3C3A2

    oklch(80.9% 0.045 107.4)

  5. Step 400

    400

    #A5A46E

    oklch(70.6% 0.073 107.2)

  6. Step 500

    500

    #8F8E47

    oklch(63.2% 0.094 108.1)

  7. Step 600

    600 (this color)

    #797726

    oklch(55.5% 0.102 107.9)

  8. Step 700

    700

    #666418

    oklch(49% 0.095 107.9)

  9. Step 800

    800

    #535217

    oklch(42.7% 0.079 108.4)

  10. Step 900

    900

    #45441A

    oklch(37.8% 0.061 107.7)

  11. Step 950

    950

    #282810

    oklch(27% 0.039 108.8)

Export this scale for Tailwind in the Tailwind colors tool

#797726 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)#81721B0.017
Deuteranopia (no green cones)#82752B0.017
Tritanopia (no blue cones)#826F670.093
Achromatopsia (no color)#7474740.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #797726

    #797726

    oklch(55.5% 0.102 107.9)

  • #7069AB

    #7069AB

    oklch(55.6% 0.101 287.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797726

    #797726

    oklch(55.5% 0.102 107.9)

  • #936B21

    #936B21

    oklch(55.5% 0.102 78.7)

  • #548144

    #548144

    oklch(55.5% 0.102 138)

Open the analogous palette in the generator

Split complementary

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

  • #797726

    #797726

    oklch(55.5% 0.102 107.9)

  • #4C74AE

    #4C74AE

    oklch(55.6% 0.101 257.6)

  • #8C5F99

    #8C5F99

    oklch(55.5% 0.101 318.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797726

    #797726

    oklch(55.5% 0.102 107.9)

  • #187EA1

    #187EA1

    oklch(55.5% 0.101 227.4)

  • #9E597D

    #9E597D

    oklch(55.5% 0.101 348.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797726

    #797726

    oklch(55.5% 0.102 107.9)

  • #008387

    #008387

    oklch(55.4% 0.094 198.6)

  • #7069AB

    #7069AB

    oklch(55.6% 0.101 287.5)

  • #A6595C

    #A6595C

    oklch(55.5% 0.101 18.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #797726.

Similar named colors

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

Use #797726 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.