#7F877E

Closest named color: Gray (#808080). oklch(61.4% 0.016 142.2), rgb(127, 135, 126).

Aa

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

About this color

#7F877E is a medium-dark close to neutral grey. In OKLCH its lightness is 61%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Gray (#808080), ΔE 0.022 away. Black text reads best on it, at 5.66:1.

Hue familyNeutrals
Lightnessmedium-dark (61%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.66:1
White text3.70:1

Values

HEX#7F877E
RGBrgb(127, 135, 126)
HSLhsl(113, 4%, 51%)
OKLCHoklch(61.4% 0.016 142.2)

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 #7F877E 3.70:1 AA large text Lc -70.1 Content text, not long reading
Black text on #7F877E 5.66:1 AA Lc 39.4 Non-text elements, placeholder text
#7F877E text on white 3.70:1 AA large text Lc 64.6 Content text, not long reading
#7F877E text on black 5.66:1 AA Lc -37.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 500.

  1. Step 50

    50

    #F5F5F5

    oklch(97% 0 0)

  2. Step 100

    100

    #E9EAE9

    oklch(93.6% 0.002 145.6)

  3. Step 200

    200

    #D7DAD7

    oklch(88.5% 0.005 145.5)

  4. Step 300

    300

    #BEC2BD

    oklch(80.9% 0.008 139.4)

  5. Step 400

    400

    #9CA39B

    oklch(70.7% 0.014 141.8)

  6. Step 500

    500 (this color)

    #7F877E

    oklch(61.4% 0.016 142.2)

  7. Step 600

    600

    #6E766D

    oklch(55.6% 0.017 142.2)

  8. Step 700

    700

    #5C635B

    oklch(49.1% 0.015 141.8)

  9. Step 800

    800

    #4B514A

    oklch(42.7% 0.014 141.2)

  10. Step 900

    900

    #3E433E

    oklch(37.6% 0.011 145.4)

  11. Step 950

    950

    #252724

    oklch(27% 0.006 134.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F877E 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)#88857E0.014
Deuteranopia (no green cones)#86847E0.013
Tritanopia (no blue cones)#7F86840.010
Achromatopsia (no color)#8585850.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F877E

    #7F877E

    oklch(61.4% 0.016 142.2)

  • #89818A

    #89818A

    oklch(61.3% 0.016 322.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F877E

    #7F877E

    oklch(61.4% 0.016 142.2)

  • #84867A

    #84867A

    oklch(61.5% 0.018 114.6)

  • #7B8883

    #7B8883

    oklch(61.5% 0.017 170.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F877E

    #7F877E

    oklch(61.4% 0.016 142.2)

  • #84838E

    #84838E

    oklch(61.4% 0.016 290.1)

  • #8D8185

    #8D8185

    oklch(61.5% 0.016 355.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F877E

    #7F877E

    oklch(61.4% 0.016 142.2)

  • #7F858F

    #7F858F

    oklch(61.5% 0.017 260.7)

  • #8E8180

    #8E8180

    oklch(61.5% 0.016 22.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F877E

    #7F877E

    oklch(61.4% 0.016 142.2)

  • #7B868D

    #7B868D

    oklch(61.3% 0.017 235.6)

  • #89818A

    #89818A

    oklch(61.3% 0.016 322.4)

  • #8D827C

    #8D827C

    oklch(61.5% 0.016 50.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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