#7F8A7A

Closest named color: Brown Grey (#8D8468). oklch(62% 0.027 135.8), rgb(127, 138, 122).

Aa

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

About this color

#7F8A7A is a medium-dark close to neutral grey. In OKLCH its lightness is 62%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Brown Grey (#8D8468), ΔE 0.029 away. Black text reads best on it, at 5.81:1.

Hue familyNeutrals
Lightnessmedium-dark (62%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameBrown Grey (#8D8468)
Black text5.81:1
White text3.60:1

Values

HEX#7F8A7A
RGBrgb(127, 138, 122)
HSLhsl(101, 6%, 51%)
OKLCHoklch(62% 0.027 135.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 #7F8A7A 3.60:1 AA large text Lc -69.2 Content text, not long reading
Black text on #7F8A7A 5.81:1 AA Lc 40.4 Non-text elements, placeholder text
#7F8A7A text on white 3.60:1 AA large text Lc 63.7 Content text, not long reading
#7F8A7A text on black 5.81:1 AA Lc -38.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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D7DAD5

    oklch(88.5% 0.007 132.4)

  4. Step 300

    300

    #BDC3BA

    oklch(81% 0.014 134.9)

  5. Step 400

    400

    #9BA497

    oklch(70.8% 0.021 135.9)

  6. Step 500

    500 (this color)

    #7F8A7A

    oklch(62% 0.027 135.8)

  7. Step 600

    600

    #6C7767

    oklch(55.5% 0.028 135.8)

  8. Step 700

    700

    #5A6455

    oklch(49% 0.026 135.1)

  9. Step 800

    800

    #4A5246

    oklch(42.8% 0.022 135.1)

  10. Step 900

    900

    #3D443B

    oklch(37.7% 0.018 138.7)

  11. Step 950

    950

    #242822

    oklch(27.1% 0.012 135.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F8A7A 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)#8B87790.018
Deuteranopia (no green cones)#8A867B0.019
Tritanopia (no blue cones)#7F89850.018
Achromatopsia (no color)#8787870.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8A7A

    #7F8A7A

    oklch(62% 0.027 135.8)

  • #8C8191

    #8C8191

    oklch(61.8% 0.027 315.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8A7A

    #7F8A7A

    oklch(62% 0.027 135.8)

  • #888775

    #888775

    oklch(61.9% 0.026 104.5)

  • #788B82

    #788B82

    oklch(61.9% 0.026 165.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F8A7A

    #7F8A7A

    oklch(62% 0.027 135.8)

  • #848496

    #848496

    oklch(61.9% 0.027 285.6)

  • #938089

    #938089

    oklch(62% 0.026 347.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8A7A

    #7F8A7A

    oklch(62% 0.027 135.8)

  • #7C8796

    #7C8796

    oklch(62% 0.026 256.2)

  • #968081

    #968081

    oklch(62% 0.027 14.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8A7A

    #7F8A7A

    oklch(62% 0.027 135.8)

  • #768A93

    #768A93

    oklch(62.1% 0.027 226.7)

  • #8C8191

    #8C8191

    oklch(61.8% 0.027 315.4)

  • #958179

    #958179

    oklch(61.9% 0.027 43)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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