#797D70

Closest named color: Medium Grey (#7D7F7C). oklch(58.2% 0.02 120.9), rgb(121, 125, 112).

Aa

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

About this color

#797D70 is a medium-dark close to neutral grey. In OKLCH its lightness is 58%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.019 away. Black text reads best on it, at 4.98:1.

Hue familyNeutrals
Lightnessmedium-dark (58%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text4.98:1
White text4.21:1

Values

HEX#797D70
RGBrgb(121, 125, 112)
HSLhsl(78, 5%, 46%)
OKLCHoklch(58.2% 0.02 120.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 #797D70 4.21:1 AA large text Lc -74.6 Content text, not long reading
Black text on #797D70 4.98:1 AA Lc 35.0 Non-text elements, placeholder text
#797D70 text on white 4.21:1 AA large text Lc 69.1 Content text, not long reading
#797D70 text on black 4.98:1 AA Lc -32.5 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

    #F5F5F5

    oklch(97% 0 0)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D8DAD6

    oklch(88.6% 0.006 128.5)

  4. Step 300

    300

    #BFC1BB

    oklch(80.8% 0.009 121.7)

  5. Step 400

    400

    #9FA298

    oklch(70.7% 0.015 120.4)

  6. Step 500

    500

    #888B7F

    oklch(63.1% 0.018 118.3)

  7. Step 600

    600 (this color)

    #797D70

    oklch(58.2% 0.02 120.9)

  8. Step 700

    700

    #5F6257

    oklch(49% 0.018 119.5)

  9. Step 800

    800

    #4E5047

    oklch(42.7% 0.015 117.2)

  10. Step 900

    900

    #40433C

    oklch(37.8% 0.012 126)

  11. Step 950

    950

    #262723

    oklch(27% 0.007 118.3)

Export this scale for Tailwind in the Tailwind colors tool

#797D70 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)#7F7B6F0.010
Deuteranopia (no green cones)#7E7B700.009
Tritanopia (no blue cones)#7A7C790.015
Achromatopsia (no color)#7B7B7B0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #797D70

    #797D70

    oklch(58.2% 0.02 120.9)

  • #7D7885

    #7D7885

    oklch(58.1% 0.02 303.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797D70

    #797D70

    oklch(58.2% 0.02 120.9)

  • #7F7B6E

    #7F7B6E

    oklch(58.3% 0.02 92.8)

  • #737F75

    #737F75

    oklch(58.3% 0.021 150.3)

Open the analogous palette in the generator

Split complementary

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

  • #797D70

    #797D70

    oklch(58.2% 0.02 120.9)

  • #767B87

    #767B87

    oklch(58.3% 0.019 267.7)

  • #827781

    #827781

    oklch(58.2% 0.02 328.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797D70

    #797D70

    oklch(58.2% 0.02 120.9)

  • #717D86

    #717D86

    oklch(58.3% 0.02 240.2)

  • #86767A

    #86767A

    oklch(58.2% 0.021 0.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797D70

    #797D70

    oklch(58.2% 0.02 120.9)

  • #6E7E82

    #6E7E82

    oklch(58.1% 0.02 214.5)

  • #7D7885

    #7D7885

    oklch(58.1% 0.02 303.2)

  • #867774

    #867774

    oklch(58.2% 0.019 31.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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