#787C6E

Closest named color: Medium Grey (#7D7F7C). oklch(57.9% 0.021 120), rgb(120, 124, 110).

Aa

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

About this color

#787C6E is a medium-dark close to neutral grey. In OKLCH its lightness is 58%, its chroma 0.021. 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 4.90:1.

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

Values

HEX#787C6E
RGBrgb(120, 124, 110)
HSLhsl(77, 6%, 46%)
OKLCHoklch(57.9% 0.021 120)

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 #787C6E 4.27:1 AA large text Lc -75.1 Fine for body text
Black text on #787C6E 4.90:1 AA Lc 34.5 Non-text elements, placeholder text
#787C6E text on white 4.27:1 AA large text Lc 69.6 Content text, not long reading
#787C6E text on black 4.90:1 AA Lc -32.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

    #F5F5F4

    oklch(97% 0.001 106.4)

  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

    #C0C2BB

    oklch(81% 0.01 119.6)

  5. Step 400

    400

    #9FA298

    oklch(70.7% 0.015 120.4)

  6. Step 500

    500

    #888B7E

    oklch(63% 0.019 117.5)

  7. Step 600

    600 (this color)

    #787C6E

    oklch(57.9% 0.021 120)

  8. Step 700

    700

    #5F6356

    oklch(49.2% 0.021 121.1)

  9. Step 800

    800

    #4E5046

    oklch(42.6% 0.016 116.3)

  10. Step 900

    900

    #40433B

    oklch(37.7% 0.014 123.8)

  11. Step 950

    950

    #262723

    oklch(27% 0.007 118.3)

Export this scale for Tailwind in the Tailwind colors tool

#787C6E 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)#7E7A6D0.010
Deuteranopia (no green cones)#7E7A6F0.011
Tritanopia (no blue cones)#797A780.018
Achromatopsia (no color)#7A7A7A0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #787C6E

    #787C6E

    oklch(57.9% 0.021 120)

  • #7C7785

    #7C7785

    oklch(57.8% 0.022 301.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787C6E

    #787C6E

    oklch(57.9% 0.021 120)

  • #7F7A6C

    #7F7A6C

    oklch(58% 0.022 90.6)

  • #717E73

    #717E73

    oklch(57.9% 0.023 149.9)

Open the analogous palette in the generator

Split complementary

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

  • #787C6E

    #787C6E

    oklch(57.9% 0.021 120)

  • #757A87

    #757A87

    oklch(58% 0.021 268.9)

  • #827680

    #827680

    oklch(58% 0.021 331.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787C6E

    #787C6E

    oklch(57.9% 0.021 120)

  • #6F7C86

    #6F7C86

    oklch(57.9% 0.022 241)

  • #857579

    #857579

    oklch(57.8% 0.021 0.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787C6E

    #787C6E

    oklch(57.9% 0.021 120)

  • #6C7E81

    #6C7E81

    oklch(58% 0.022 208.7)

  • #7C7785

    #7C7785

    oklch(57.8% 0.022 301.9)

  • #867672

    #867672

    oklch(57.9% 0.021 34.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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