#7E8A7C

Closest named color: Gray (#808080). oklch(61.9% 0.025 141.2), rgb(126, 138, 124).

Aa

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

About this color

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

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

Values

HEX#7E8A7C
RGBrgb(126, 138, 124)
HSLhsl(111, 6%, 51%)
OKLCHoklch(61.9% 0.025 141.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 #7E8A7C 3.61:1 AA large text Lc -69.2 Content text, not long reading
Black text on #7E8A7C 5.81:1 AA Lc 40.3 Non-text elements, placeholder text
#7E8A7C text on white 3.61:1 AA large text Lc 63.7 Content text, not long reading
#7E8A7C text on black 5.81:1 AA Lc -37.9 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

    #E8EAE8

    oklch(93.5% 0.003 145.5)

  3. Step 200

    200

    #D7DAD6

    oklch(88.5% 0.006 137.8)

  4. Step 300

    300

    #BCC3BB

    oklch(80.9% 0.013 141.8)

  5. Step 400

    400

    #9AA498

    oklch(70.7% 0.021 140.5)

  6. Step 500

    500 (this color)

    #7E8A7C

    oklch(61.9% 0.025 141.2)

  7. Step 600

    600

    #6B7869

    oklch(55.7% 0.028 141.5)

  8. Step 700

    700

    #596557

    oklch(49.2% 0.026 141.2)

  9. Step 800

    800

    #495247

    oklch(42.7% 0.021 140)

  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

#7E8A7C 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)#8B877B0.020
Deuteranopia (no green cones)#89867D0.019
Tritanopia (no blue cones)#7D89860.016
Achromatopsia (no color)#8787870.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8A7C

    #7E8A7C

    oklch(61.9% 0.025 141.2)

  • #8D818F

    #8D818F

    oklch(61.8% 0.025 321.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8A7C

    #7E8A7C

    oklch(61.9% 0.025 141.2)

  • #868877

    #868877

    oklch(62% 0.025 112.6)

  • #788B84

    #788B84

    oklch(61.9% 0.024 171.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E8A7C

    #7E8A7C

    oklch(61.9% 0.025 141.2)

  • #868494

    #868494

    oklch(62% 0.024 291.4)

  • #938088

    #938088

    oklch(62% 0.026 350.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8A7C

    #7E8A7C

    oklch(61.9% 0.025 141.2)

  • #7E8696

    #7E8696

    oklch(61.9% 0.026 264.4)

  • #95807F

    #95807F

    oklch(61.9% 0.026 21.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8A7C

    #7E8A7C

    oklch(61.9% 0.025 141.2)

  • #778993

    #778993

    oklch(61.9% 0.026 232.1)

  • #8D818F

    #8D818F

    oklch(61.8% 0.025 321.4)

  • #938279

    #938279

    oklch(61.9% 0.025 49.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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