#7A8170

Closest named color: Medium Grey (#7D7F7C). oklch(59.2% 0.027 125.5), rgb(122, 129, 112).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text5.20:1
White text4.03:1

Values

HEX#7A8170
RGBrgb(122, 129, 112)
HSLhsl(85, 7%, 47%)
OKLCHoklch(59.2% 0.027 125.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 #7A8170 4.03:1 AA large text Lc -73.1 Content text, not long reading
Black text on #7A8170 5.20:1 AA Lc 36.4 Non-text elements, placeholder text
#7A8170 text on white 4.03:1 AA large text Lc 67.6 Content text, not long reading
#7A8170 text on black 5.20:1 AA Lc -34.0 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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D8DAD5

    oklch(88.5% 0.007 124.5)

  4. Step 300

    300

    #BFC2BA

    oklch(80.9% 0.012 123.5)

  5. Step 400

    400

    #9EA396

    oklch(70.8% 0.019 124.1)

  6. Step 500

    500

    #868C7C

    oklch(63% 0.024 123.9)

  7. Step 600

    600 (this color)

    #7A8170

    oklch(59.2% 0.027 125.5)

  8. Step 700

    700

    #5D6354

    oklch(49% 0.024 125.1)

  9. Step 800

    800

    #4C5145

    oklch(42.7% 0.02 125.7)

  10. Step 900

    900

    #3F433A

    oklch(37.6% 0.016 126.8)

  11. Step 950

    950

    #252722

    oklch(26.9% 0.01 124.9)

Export this scale for Tailwind in the Tailwind colors tool

#7A8170 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)#837F6F0.014
Deuteranopia (no green cones)#827E710.015
Tritanopia (no blue cones)#7B7F7C0.021
Achromatopsia (no color)#7E7E7E0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A8170

    #7A8170

    oklch(59.2% 0.027 125.5)

  • #827A8B

    #827A8B

    oklch(59.2% 0.027 306.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A8170

    #7A8170

    oklch(59.2% 0.027 125.5)

  • #837E6C

    #837E6C

    oklch(59.2% 0.027 94.2)

  • #728377

    #728377

    oklch(59.3% 0.027 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #7A8170

    #7A8170

    oklch(59.2% 0.027 125.5)

  • #797D8E

    #797D8E

    oklch(59.2% 0.026 275.1)

  • #897884

    #897884

    oklch(59.2% 0.027 336.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A8170

    #7A8170

    oklch(59.2% 0.027 125.5)

  • #71808D

    #71808D

    oklch(59.2% 0.027 244.4)

  • #8D787C

    #8D787C

    oklch(59.3% 0.027 5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A8170

    #7A8170

    oklch(59.2% 0.027 125.5)

  • #6D8288

    #6D8288

    oklch(59.2% 0.026 216.9)

  • #827A8B

    #827A8B

    oklch(59.2% 0.027 306.7)

  • #8D7973

    #8D7973

    oklch(59.3% 0.027 37.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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