#787D6C

Closest named color: Medium Grey (#7D7F7C). oklch(58% 0.026 120.5), rgb(120, 125, 108).

Aa

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

About this color

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

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

Values

HEX#787D6C
RGBrgb(120, 125, 108)
HSLhsl(78, 7%, 46%)
OKLCHoklch(58% 0.026 120.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 #787D6C 4.24:1 AA large text Lc -74.8 Content text, not long reading
Black text on #787D6C 4.94:1 AA Lc 34.8 Non-text elements, placeholder text
#787D6C text on white 4.24:1 AA large text Lc 69.3 Content text, not long reading
#787D6C text on black 4.94:1 AA Lc -32.3 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

    #D8DAD5

    oklch(88.5% 0.007 124.5)

  4. Step 300

    300

    #BFC2BA

    oklch(80.9% 0.012 123.5)

  5. Step 400

    400

    #9FA396

    oklch(70.8% 0.019 120.8)

  6. Step 500

    500

    #878C7C

    oklch(63.1% 0.024 121.2)

  7. Step 600

    600 (this color)

    #787D6C

    oklch(58% 0.026 120.5)

  8. Step 700

    700

    #5F6354

    oklch(49.2% 0.024 119.4)

  9. Step 800

    800

    #4D5145

    oklch(42.7% 0.02 122.3)

  10. Step 900

    900

    #40433A

    oklch(37.7% 0.015 122.2)

  11. Step 950

    950

    #262722

    oklch(27% 0.009 116.2)

Export this scale for Tailwind in the Tailwind colors tool

#787D6C 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)#7F7B6B0.011
Deuteranopia (no green cones)#7F7B6D0.012
Tritanopia (no blue cones)#7A7B780.021
Achromatopsia (no color)#7B7B7B0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #787D6C

    #787D6C

    oklch(58% 0.026 120.5)

  • #7D7788

    #7D7788

    oklch(58% 0.027 301.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787D6C

    #787D6C

    oklch(58% 0.026 120.5)

  • #807A69

    #807A69

    oklch(58% 0.026 90.9)

  • #707F73

    #707F73

    oklch(58.1% 0.025 151.3)

Open the analogous palette in the generator

Split complementary

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

  • #787D6C

    #787D6C

    oklch(58% 0.026 120.5)

  • #747A8A

    #747A8A

    oklch(58% 0.026 269.2)

  • #847582

    #847582

    oklch(58% 0.027 330.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787D6C

    #787D6C

    oklch(58% 0.026 120.5)

  • #6D7D89

    #6D7D89

    oklch(58.1% 0.026 240.4)

  • #887479

    #887479

    oklch(57.9% 0.026 1.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787D6C

    #787D6C

    oklch(58% 0.026 120.5)

  • #697F83

    #697F83

    oklch(58% 0.026 209.8)

  • #7D7788

    #7D7788

    oklch(58% 0.027 301.6)

  • #897571

    #897571

    oklch(58% 0.026 31.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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