#787F71

Closest named color: Medium Grey (#7D7F7C). oklch(58.6% 0.022 128.9), rgb(120, 127, 113).

Aa

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

About this color

#787F71 is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.022. 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 5.07:1.

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

Values

HEX#787F71
RGBrgb(120, 127, 113)
HSLhsl(90, 6%, 47%)
OKLCHoklch(58.6% 0.022 128.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 #787F71 4.13:1 AA large text Lc -74.0 Content text, not long reading
Black text on #787F71 5.07:1 AA Lc 35.6 Non-text elements, placeholder text
#787F71 text on white 4.13:1 AA large text Lc 68.5 Content text, not long reading
#787F71 text on black 5.07:1 AA Lc -33.2 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

    #BEC2BB

    oklch(80.9% 0.011 131.4)

  5. Step 400

    400

    #9DA398

    oklch(70.7% 0.017 130.5)

  6. Step 500

    500

    #868C7F

    oklch(63.1% 0.02 127.3)

  7. Step 600

    600 (this color)

    #787F71

    oklch(58.6% 0.022 128.9)

  8. Step 700

    700

    #5D6357

    oklch(49.1% 0.02 128.9)

  9. Step 800

    800

    #4C5147

    oklch(42.7% 0.017 128.9)

  10. Step 900

    900

    #3F433C

    oklch(37.7% 0.013 131.6)

  11. Step 950

    950

    #252723

    oklch(26.9% 0.008 128.8)

Export this scale for Tailwind in the Tailwind colors tool

#787F71 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)#817D700.014
Deuteranopia (no green cones)#7F7C720.013
Tritanopia (no blue cones)#797E7B0.017
Achromatopsia (no color)#7D7D7D0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #787F71

    #787F71

    oklch(58.6% 0.022 128.9)

  • #807987

    #807987

    oklch(58.7% 0.023 308)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787F71

    #787F71

    oklch(58.6% 0.022 128.9)

  • #7F7D6E

    #7F7D6E

    oklch(58.7% 0.022 100.8)

  • #718077

    #718077

    oklch(58.5% 0.022 159.3)

Open the analogous palette in the generator

Split complementary

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

  • #787F71

    #787F71

    oklch(58.6% 0.022 128.9)

  • #797B8A

    #797B8A

    oklch(58.6% 0.023 279.6)

  • #867781

    #867781

    oklch(58.6% 0.024 338.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787F71

    #787F71

    oklch(58.6% 0.022 128.9)

  • #727E89

    #727E89

    oklch(58.7% 0.022 245.8)

  • #897779

    #897779

    oklch(58.7% 0.023 10.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787F71

    #787F71

    oklch(58.6% 0.022 128.9)

  • #6E8085

    #6E8085

    oklch(58.7% 0.022 216.3)

  • #807987

    #807987

    oklch(58.7% 0.023 308)

  • #897873

    #897873

    oklch(58.7% 0.023 37)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787F71 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.