#787F6C

Closest named color: Medium Grey (#7D7F7C). oklch(58.5% 0.029 123.8), rgb(120, 127, 108).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (58%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text5.05:1
White text4.15:1

Values

HEX#787F6C
RGBrgb(120, 127, 108)
HSLhsl(82, 8%, 46%)
OKLCHoklch(58.5% 0.029 123.8)

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 #787F6C 4.15:1 AA large text Lc -74.1 Content text, not long reading
Black text on #787F6C 5.05:1 AA Lc 35.4 Non-text elements, placeholder text
#787F6C text on white 4.15:1 AA large text Lc 68.6 Content text, not long reading
#787F6C text on black 5.05:1 AA Lc -33.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

    #E9EAE7

    oklch(93.5% 0.004 121.6)

  3. Step 200

    200

    #D8DAD5

    oklch(88.5% 0.007 124.5)

  4. Step 300

    300

    #BFC2B9

    oklch(80.9% 0.013 121.7)

  5. Step 400

    400

    #9EA395

    oklch(70.7% 0.021 123)

  6. Step 500

    500

    #868C7B

    oklch(63% 0.026 123)

  7. Step 600

    600 (this color)

    #787F6C

    oklch(58.5% 0.029 123.8)

  8. Step 700

    700

    #5D6453

    oklch(49.2% 0.028 125.6)

  9. Step 800

    800

    #4C5144

    oklch(42.6% 0.022 124.5)

  10. Step 900

    900

    #404339

    oklch(37.7% 0.017 120.8)

  11. Step 950

    950

    #252721

    oklch(26.9% 0.011 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#787F6C 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)#817C6B0.015
Deuteranopia (no green cones)#807C6D0.015
Tritanopia (no blue cones)#797D7A0.024
Achromatopsia (no color)#7C7C7C0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #787F6C

    #787F6C

    oklch(58.5% 0.029 123.8)

  • #7F788A

    #7F788A

    oklch(58.5% 0.028 303.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787F6C

    #787F6C

    oklch(58.5% 0.029 123.8)

  • #817C68

    #817C68

    oklch(58.5% 0.03 95.6)

  • #6F8174

    #6F8174

    oklch(58.5% 0.029 154)

Open the analogous palette in the generator

Split complementary

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

  • #787F6C

    #787F6C

    oklch(58.5% 0.029 123.8)

  • #767B8E

    #767B8E

    oklch(58.5% 0.03 273.8)

  • #877683

    #877683

    oklch(58.6% 0.028 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787F6C

    #787F6C

    oklch(58.5% 0.029 123.8)

  • #6D7E8C

    #6D7E8C

    oklch(58.4% 0.029 243.1)

  • #8C757A

    #8C757A

    oklch(58.6% 0.03 3.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787F6C

    #787F6C

    oklch(58.5% 0.029 123.8)

  • #688186

    #688186

    oklch(58.5% 0.03 211.1)

  • #7F788A

    #7F788A

    oklch(58.5% 0.028 303.2)

  • #8C7670

    #8C7670

    oklch(58.5% 0.029 35.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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