#797A45

Closest named color: Military Green (#667C3E). oklch(56.6% 0.074 109.5), rgb(121, 122, 69).

Aa

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

About this color

#797A45 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.074 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Military Green (#667C3E), ΔE 0.031 away. Black text reads best on it, at 4.68:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameMilitary Green (#667C3E)
Black text4.68:1
White text4.48:1

Values

HEX#797A45
RGBrgb(121, 122, 69)
HSLhsl(61, 28%, 37%)
OKLCHoklch(56.6% 0.074 109.5)

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 #797A45 4.48:1 AA large text Lc -76.6 Fine for body text
Black text on #797A45 4.68:1 AA Lc 33.0 Non-text elements, placeholder text
#797A45 text on white 4.48:1 AA large text Lc 71.1 Content text, not long reading
#797A45 text on black 4.68:1 AA Lc -30.6 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

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACD

    oklch(88.5% 0.018 106.8)

  4. Step 300

    300

    #C2C3AA

    oklch(81% 0.034 109)

  5. Step 400

    400

    #A2A47E

    oklch(70.7% 0.053 110.2)

  6. Step 500

    500

    #8C8D5C

    oklch(63% 0.068 109.2)

  7. Step 600

    600 (this color)

    #797A45

    oklch(56.6% 0.074 109.5)

  8. Step 700

    700

    #636434

    oklch(49.1% 0.069 109.7)

  9. Step 800

    800

    #51522C

    oklch(42.8% 0.057 109.9)

  10. Step 900

    900

    #434427

    oklch(37.8% 0.045 110.1)

  11. Step 950

    950

    #272817

    oklch(27.1% 0.029 111.1)

Export this scale for Tailwind in the Tailwind colors tool

#797A45 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)#8276410.016
Deuteranopia (no green cones)#8278470.016
Tritanopia (no blue cones)#80746D0.066
Achromatopsia (no color)#7777770.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #797A45

    #797A45

    oklch(56.6% 0.074 109.5)

  • #756F9F

    #756F9F

    oklch(56.6% 0.074 289.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797A45

    #797A45

    oklch(56.6% 0.074 109.5)

  • #8D7142

    #8D7142

    oklch(56.5% 0.073 79.4)

  • #5F8157

    #5F8157

    oklch(56.6% 0.074 139.7)

Open the analogous palette in the generator

Split complementary

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

  • #797A45

    #797A45

    oklch(56.6% 0.074 109.5)

  • #5C77A2

    #5C77A2

    oklch(56.6% 0.074 259.5)

  • #896892

    #896892

    oklch(56.5% 0.074 318.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797A45

    #797A45

    oklch(56.6% 0.074 109.5)

  • #447E99

    #447E99

    oklch(56.5% 0.074 230.1)

  • #97647D

    #97647D

    oklch(56.5% 0.074 348.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797A45

    #797A45

    oklch(56.6% 0.074 109.5)

  • #388387

    #388387

    oklch(56.5% 0.074 200.1)

  • #756F9F

    #756F9F

    oklch(56.6% 0.074 289.6)

  • #9D6464

    #9D6464

    oklch(56.5% 0.074 19.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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