#7F8276

Closest named color: Medium Grey (#7D7F7C). oklch(60% 0.018 118.4), rgb(127, 130, 118).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text5.35:1
White text3.92:1

Values

HEX#7F8276
RGBrgb(127, 130, 118)
HSLhsl(75, 5%, 49%)
OKLCHoklch(60% 0.018 118.4)

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 #7F8276 3.92:1 AA large text Lc -72.1 Content text, not long reading
Black text on #7F8276 5.35:1 AA Lc 37.4 Non-text elements, placeholder text
#7F8276 text on white 3.92:1 AA large text Lc 66.6 Content text, not long reading
#7F8276 text on black 5.35:1 AA Lc -35.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

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D9D9D6

    oklch(88.4% 0.004 106.5)

  4. Step 300

    300

    #C0C1BB

    oklch(80.8% 0.008 114.3)

  5. Step 400

    400

    #9FA298

    oklch(70.7% 0.015 120.4)

  6. Step 500

    500 (this color)

    #7F8276

    oklch(60% 0.018 118.4)

  7. Step 600

    600

    #727568

    oklch(55.6% 0.02 117.6)

  8. Step 700

    700

    #5F6257

    oklch(49% 0.018 119.5)

  9. Step 800

    800

    #4E5047

    oklch(42.7% 0.015 117.2)

  10. Step 900

    900

    #41433C

    oklch(37.9% 0.012 120)

  11. Step 950

    950

    #262723

    oklch(27% 0.007 118.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F8276 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)#8481750.007
Deuteranopia (no green cones)#8381760.006
Tritanopia (no blue cones)#80817E0.014
Achromatopsia (no color)#8181810.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8276

    #7F8276

    oklch(60% 0.018 118.4)

  • #817E8A

    #817E8A

    oklch(60% 0.018 297.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8276

    #7F8276

    oklch(60% 0.018 118.4)

  • #858074

    #858074

    oklch(60.1% 0.019 88)

  • #79847A

    #79847A

    oklch(60.1% 0.02 147.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F8276

    #7F8276

    oklch(60% 0.018 118.4)

  • #7C808C

    #7C808C

    oklch(60.1% 0.019 271.1)

  • #877D86

    #877D86

    oklch(60.2% 0.018 328.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8276

    #7F8276

    oklch(60% 0.018 118.4)

  • #77828A

    #77828A

    oklch(60% 0.018 239.3)

  • #8A7C80

    #8A7C80

    oklch(60% 0.018 358.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8276

    #7F8276

    oklch(60% 0.018 118.4)

  • #748486

    #748486

    oklch(60.1% 0.019 205.8)

  • #817E8A

    #817E8A

    oklch(60% 0.018 297.3)

  • #8B7D7A

    #8B7D7A

    oklch(60.1% 0.018 32)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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