#8C8A7E

Closest named color: Warm Grey (#978A84). oklch(63.2% 0.018 99.1), rgb(140, 138, 126).

Aa

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

About this color

#8C8A7E is a medium-light close to neutral grey. In OKLCH its lightness is 63%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Warm Grey (#978A84), ΔE 0.020 away. Black text reads best on it, at 6.05:1.

Hue familyNeutrals
Lightnessmedium-light (63%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameWarm Grey (#978A84)
Black text6.05:1
White text3.47:1

Values

HEX#8C8A7E
RGBrgb(140, 138, 126)
HSLhsl(51, 6%, 52%)
OKLCHoklch(63.2% 0.018 99.1)

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 #8C8A7E 3.47:1 AA large text Lc -67.7 Content text, not long reading
Black text on #8C8A7E 6.05:1 AA Lc 41.8 Non-text elements, placeholder text
#8C8A7E text on white 3.47:1 AA large text Lc 62.3 Content text, not long reading
#8C8A7E text on black 6.05:1 AA Lc -39.4 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

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE8

    oklch(93.6% 0.003 106.5)

  3. Step 200

    200

    #DAD9D6

    oklch(88.5% 0.004 91.5)

  4. Step 300

    300

    #C2C1BA

    oklch(81% 0.01 100)

  5. Step 400

    400

    #A2A197

    oklch(70.7% 0.014 102.1)

  6. Step 500

    500 (this color)

    #8C8A7E

    oklch(63.2% 0.018 99.1)

  7. Step 600

    600

    #767467

    oklch(55.7% 0.02 99.8)

  8. Step 700

    700

    #636156

    oklch(49.1% 0.017 98.5)

  9. Step 800

    800

    #514F46

    oklch(42.7% 0.015 96.7)

  10. Step 900

    900

    #43423B

    oklch(37.8% 0.012 100.3)

  11. Step 950

    950

    #272723

    oklch(27.1% 0.007 106.9)

Export this scale for Tailwind in the Tailwind colors tool

#8C8A7E 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)#8D897D0.003
Deuteranopia (no green cones)#8D8A7E0.001
Tritanopia (no blue cones)#8E88870.017
Achromatopsia (no color)#8A8A8A0.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C8A7E

    #8C8A7E

    oklch(63.2% 0.018 99.1)

  • #878995

    #878995

    oklch(63.2% 0.018 278.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C8A7E

    #8C8A7E

    oklch(63.2% 0.018 99.1)

  • #91887E

    #91887E

    oklch(63.2% 0.018 70.4)

  • #868C81

    #868C81

    oklch(63.2% 0.018 130.5)

Open the analogous palette in the generator

Split complementary

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

  • #8C8A7E

    #8C8A7E

    oklch(63.2% 0.018 99.1)

  • #828B94

    #828B94

    oklch(63.2% 0.017 248.1)

  • #8D8792

    #8D8792

    oklch(63.2% 0.018 310)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C8A7E

    #8C8A7E

    oklch(63.2% 0.018 99.1)

  • #7E8C91

    #7E8C91

    oklch(63% 0.018 221.2)

  • #91868D

    #91868D

    oklch(63.2% 0.017 339.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C8A7E

    #8C8A7E

    oklch(63.2% 0.018 99.1)

  • #7E8D8C

    #7E8D8C

    oklch(63.1% 0.017 191.8)

  • #878995

    #878995

    oklch(63.2% 0.018 278.3)

  • #948587

    #948587

    oklch(63.1% 0.018 8.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8C8A7E 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.