#817D6F

Closest named color: Medium Grey (#7D7F7C). oklch(58.9% 0.021 93.8), rgb(129, 125, 111).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text5.09:1
White text4.12:1

Values

HEX#817D6F
RGBrgb(129, 125, 111)
HSLhsl(47, 7%, 47%)
OKLCHoklch(58.9% 0.021 93.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 #817D6F 4.12:1 AA large text Lc -73.8 Content text, not long reading
Black text on #817D6F 5.09:1 AA Lc 35.7 Non-text elements, placeholder text
#817D6F text on white 4.12:1 AA large text Lc 68.3 Content text, not long reading
#817D6F text on black 5.09:1 AA Lc -33.3 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 600.

  1. Step 50

    50

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EAEAE8

    oklch(93.6% 0.003 106.5)

  3. Step 200

    200

    #DAD9D5

    oklch(88.5% 0.006 95.1)

  4. Step 300

    300

    #C2C1BA

    oklch(81% 0.01 100)

  5. Step 400

    400

    #A4A196

    oklch(70.8% 0.016 94.3)

  6. Step 500

    500

    #8D897C

    oklch(63% 0.02 92.8)

  7. Step 600

    600 (this color)

    #817D6F

    oklch(58.9% 0.021 93.8)

  8. Step 700

    700

    #646154

    oklch(49.1% 0.02 96.4)

  9. Step 800

    800

    #524F45

    oklch(42.7% 0.017 93.2)

  10. Step 900

    900

    #44423A

    oklch(37.8% 0.014 95.4)

  11. Step 950

    950

    #282622

    oklch(26.9% 0.008 84.6)

Export this scale for Tailwind in the Tailwind colors tool

#817D6F 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)#807C6E0.003
Deuteranopia (no green cones)#817E6F0.003
Tritanopia (no blue cones)#847B790.019
Achromatopsia (no color)#7D7D7D0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #817D6F

    #817D6F

    oklch(58.9% 0.021 93.8)

  • #797C8A

    #797C8A

    oklch(58.9% 0.022 276.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817D6F

    #817D6F

    oklch(58.9% 0.021 93.8)

  • #867B70

    #867B70

    oklch(59% 0.021 67.4)

  • #7A7F72

    #7A7F72

    oklch(58.8% 0.02 124.2)

Open the analogous palette in the generator

Split complementary

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

  • #817D6F

    #817D6F

    oklch(58.9% 0.021 93.8)

  • #737F89

    #737F89

    oklch(59% 0.021 243.2)

  • #7F7A88

    #7F7A88

    oklch(58.9% 0.022 301.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817D6F

    #817D6F

    oklch(58.9% 0.021 93.8)

  • #6F8185

    #6F8185

    oklch(59% 0.022 212.6)

  • #857882

    #857882

    oklch(58.8% 0.022 333.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817D6F

    #817D6F

    oklch(58.9% 0.021 93.8)

  • #70817E

    #70817E

    oklch(58.9% 0.02 183.8)

  • #797C8A

    #797C8A

    oklch(58.9% 0.022 276.1)

  • #89787B

    #89787B

    oklch(58.9% 0.021 5.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #817D6F 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.