#7F8A7D

Closest named color: Gray (#808080). oklch(62% 0.023 140.9), rgb(127, 138, 125).

Aa

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

About this color

#7F8A7D is a medium-light close to neutral grey. In OKLCH its lightness is 62%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Gray (#808080), ΔE 0.031 away. Black text reads best on it, at 5.83:1.

Hue familyNeutrals
Lightnessmedium-light (62%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.83:1
White text3.59:1

Values

HEX#7F8A7D
RGBrgb(127, 138, 125)
HSLhsl(111, 5%, 52%)
OKLCHoklch(62% 0.023 140.9)

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 #7F8A7D 3.59:1 AA large text Lc -69.1 Content text, not long reading
Black text on #7F8A7D 5.83:1 AA Lc 40.5 Non-text elements, placeholder text
#7F8A7D text on white 3.59:1 AA large text Lc 63.6 Content text, not long reading
#7F8A7D text on black 5.83:1 AA Lc -38.1 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

    #F5F6F5

    oklch(97.2% 0.002 145.6)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D7DAD6

    oklch(88.5% 0.006 137.8)

  4. Step 300

    300

    #BDC2BC

    oklch(80.8% 0.01 140.5)

  5. Step 400

    400

    #9BA499

    oklch(70.8% 0.019 140)

  6. Step 500

    500 (this color)

    #7F8A7D

    oklch(62% 0.023 140.9)

  7. Step 600

    600

    #6C7769

    oklch(55.6% 0.025 139)

  8. Step 700

    700

    #5A6458

    oklch(49.1% 0.022 140.5)

  9. Step 800

    800

    #495248

    oklch(42.7% 0.02 142.4)

  10. Step 900

    900

    #3D443C

    oklch(37.7% 0.016 141.7)

  11. Step 950

    950

    #242823

    oklch(27.1% 0.011 139.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F8A7D 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)#8B887C0.017
Deuteranopia (no green cones)#89867E0.018
Tritanopia (no blue cones)#7E89860.015
Achromatopsia (no color)#8787870.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8A7D

    #7F8A7D

    oklch(62% 0.023 140.9)

  • #8D828F

    #8D828F

    oklch(62.1% 0.023 321)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8A7D

    #7F8A7D

    oklch(62% 0.023 140.9)

  • #878878

    #878878

    oklch(62.1% 0.023 110)

  • #798B84

    #798B84

    oklch(62% 0.023 170.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F8A7D

    #7F8A7D

    oklch(62% 0.023 140.9)

  • #868494

    #868494

    oklch(62% 0.024 291.4)

  • #928188

    #928188

    oklch(62.1% 0.023 351)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8A7D

    #7F8A7D

    oklch(62% 0.023 140.9)

  • #7F8795

    #7F8795

    oklch(62.2% 0.023 261.7)

  • #948180

    #948180

    oklch(62% 0.023 21.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8A7D

    #7F8A7D

    oklch(62% 0.023 140.9)

  • #798992

    #798992

    oklch(62% 0.023 232.4)

  • #8D828F

    #8D828F

    oklch(62.1% 0.023 321)

  • #92837A

    #92837A

    oklch(62.1% 0.023 53.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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