#797C66

Closest named color: Medium Grey (#7D7F7C). oklch(57.7% 0.033 113.7), rgb(121, 124, 102).

Aa

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

About this color

#797C66 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.033 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.033 away. Black text reads best on it, at 4.88:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.033)
Temperaturein between
Nearest nameMedium Grey (#7D7F7C)
Black text4.88:1
White text4.29:1

Values

HEX#797C66
RGBrgb(121, 124, 102)
HSLhsl(68, 10%, 44%)
OKLCHoklch(57.7% 0.033 113.7)

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 #797C66 4.29:1 AA large text Lc -75.2 Fine for body text
Black text on #797C66 4.88:1 AA Lc 34.3 Non-text elements, placeholder text
#797C66 text on white 4.29:1 AA large text Lc 69.7 Content text, not long reading
#797C66 text on black 4.88:1 AA Lc -31.9 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

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE7

    oklch(93.6% 0.004 106.5)

  3. Step 200

    200

    #D9DAD4

    oklch(88.6% 0.008 114.2)

  4. Step 300

    300

    #C0C2B7

    oklch(80.9% 0.015 115.1)

  5. Step 400

    400

    #A0A292

    oklch(70.6% 0.023 112.8)

  6. Step 500

    500

    #898C77

    oklch(63.2% 0.031 113.9)

  7. Step 600

    600 (this color)

    #797C66

    oklch(57.7% 0.033 113.7)

  8. Step 700

    700

    #60634F

    oklch(49.1% 0.031 114.5)

  9. Step 800

    800

    #4F5141

    oklch(42.8% 0.026 113.3)

  10. Step 900

    900

    #414337

    oklch(37.7% 0.02 115)

  11. Step 950

    950

    #262720

    oklch(26.9% 0.013 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#797C66 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)#807A650.011
Deuteranopia (no green cones)#7F7A670.011
Tritanopia (no blue cones)#7C79760.029
Achromatopsia (no color)#7A7A7A0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #797C66

    #797C66

    oklch(57.7% 0.033 113.7)

  • #7A768C

    #7A768C

    oklch(57.7% 0.034 293.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797C66

    #797C66

    oklch(57.7% 0.033 113.7)

  • #837864

    #837864

    oklch(57.7% 0.032 82.5)

  • #6E7F6D

    #6E7F6D

    oklch(57.7% 0.034 143.6)

Open the analogous palette in the generator

Split complementary

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

  • #797C66

    #797C66

    oklch(57.7% 0.033 113.7)

  • #707A8E

    #707A8E

    oklch(57.8% 0.033 264.3)

  • #847385

    #847385

    oklch(57.7% 0.034 324.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797C66

    #797C66

    oklch(57.7% 0.033 113.7)

  • #677D8A

    #677D8A

    oklch(57.7% 0.033 234)

  • #8A727B

    #8A727B

    oklch(57.8% 0.033 353.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797C66

    #797C66

    oklch(57.7% 0.033 113.7)

  • #638082

    #638082

    oklch(57.8% 0.033 201.5)

  • #7A768C

    #7A768C

    oklch(57.7% 0.034 293.7)

  • #8C7270

    #8C7270

    oklch(57.6% 0.033 23.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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