#797F37

Closest named color: Khaki Green (#728639). oklch(57.6% 0.096 113.4), rgb(121, 127, 55).

Aa

Black text reads best on this color (4.90:1).

About this color

#797F37 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.096 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.021 away. Black text reads best on it, at 4.90:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text4.90:1
White text4.28:1

Values

HEX#797F37
RGBrgb(121, 127, 55)
HSLhsl(65, 40%, 36%)
OKLCHoklch(57.6% 0.096 113.4)

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 #797F37 4.28:1 AA large text Lc -75.0 Fine for body text
Black text on #797F37 4.90:1 AA Lc 34.5 Non-text elements, placeholder text
#797F37 text on white 4.28:1 AA large text Lc 69.6 Content text, not long reading
#797F37 text on black 4.90:1 AA Lc -32.1 Non-text elements, placeholder text

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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE2

    oklch(93.6% 0.012 116.8)

  3. Step 200

    200

    #D9DBC9

    oklch(88.5% 0.024 112)

  4. Step 300

    300

    #C0C4A5

    oklch(80.9% 0.042 113.3)

  5. Step 400

    400

    #A0A674

    oklch(70.8% 0.069 113.7)

  6. Step 500

    500

    #898F4E

    oklch(63% 0.088 113.3)

  7. Step 600

    600 (this color)

    #797F37

    oklch(57.6% 0.096 113.4)

  8. Step 700

    700

    #616623

    oklch(49.1% 0.09 113.3)

  9. Step 800

    800

    #4F531F

    oklch(42.7% 0.074 113.2)

  10. Step 900

    900

    #41451F

    oklch(37.7% 0.058 114.2)

  11. Step 950

    950

    #262813

    oklch(26.9% 0.036 113.3)

Export this scale for Tailwind in the Tailwind colors tool

#797F37 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)#8879300.026
Deuteranopia (no green cones)#877B3B0.025
Tritanopia (no blue cones)#80786F0.084
Achromatopsia (no color)#7A7A7A0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #797F37

    #797F37

    oklch(57.6% 0.096 113.4)

  • #7C6EAC

    #7C6EAC

    oklch(57.7% 0.095 293.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797F37

    #797F37

    oklch(57.6% 0.096 113.4)

  • #94732E

    #94732E

    oklch(57.4% 0.096 83)

  • #558853

    #558853

    oklch(57.7% 0.097 143.4)

Open the analogous palette in the generator

Split complementary

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

  • #797F37

    #797F37

    oklch(57.6% 0.096 113.4)

  • #5B78B2

    #5B78B2

    oklch(57.5% 0.096 263.4)

  • #94659A

    #94659A

    oklch(57.5% 0.096 322.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797F37

    #797F37

    oklch(57.6% 0.096 113.4)

  • #3482A9

    #3482A9

    oklch(57.6% 0.096 233.8)

  • #A5607E

    #A5607E

    oklch(57.6% 0.097 353)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797F37

    #797F37

    oklch(57.6% 0.096 113.4)

  • #0D8992

    #0D8992

    oklch(57.5% 0.096 203.2)

  • #7C6EAC

    #7C6EAC

    oklch(57.7% 0.095 293.6)

  • #AA615E

    #AA615E

    oklch(57.5% 0.095 23)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #797F37 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.