#8A7F5C

Closest named color: Brown Grey (#8D8468). oklch(59.7% 0.052 92.7), rgb(138, 127, 92).

Aa

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

About this color

#8A7F5C is a medium-dark, muted yellow. In OKLCH its lightness is 60%, its chroma 0.052 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Grey (#8D8468), ΔE 0.019 away. Black text reads best on it, at 5.27:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameBrown Grey (#8D8468)
Black text5.27:1
White text3.98:1

Values

HEX#8A7F5C
RGBrgb(138, 127, 92)
HSLhsl(46, 20%, 45%)
OKLCHoklch(59.7% 0.052 92.7)

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 #8A7F5C 3.98:1 AA large text Lc -72.7 Content text, not long reading
Black text on #8A7F5C 5.27:1 AA Lc 36.9 Non-text elements, placeholder text
#8A7F5C text on white 3.98:1 AA large text Lc 67.2 Content text, not long reading
#8A7F5C text on black 5.27:1 AA Lc -34.5 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DCD9CF

    oklch(88.5% 0.014 93)

  4. Step 300

    300

    #C6C1AF

    oklch(81% 0.025 94.1)

  5. Step 400

    400

    #A9A084

    oklch(70.6% 0.041 92.3)

  6. Step 500

    500 (this color)

    #8A7F5C

    oklch(59.7% 0.052 92.7)

  7. Step 600

    600

    #7F734D

    oklch(55.7% 0.056 92.6)

  8. Step 700

    700

    #6B603E

    oklch(49.1% 0.052 92.2)

  9. Step 800

    800

    #574F33

    oklch(42.8% 0.044 94)

  10. Step 900

    900

    #48412D

    oklch(37.7% 0.033 91)

  11. Step 950

    950

    #2A261B

    oklch(26.9% 0.02 90.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A7F5C 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)#867D5A0.009
Deuteranopia (no green cones)#89815D0.005
Tritanopia (no blue cones)#917A760.046
Achromatopsia (no color)#7F7F7F0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F5C

    #8A7F5C

    oklch(59.7% 0.052 92.7)

  • #757E9F

    #757E9F

    oklch(59.8% 0.052 272.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F5C

    #8A7F5C

    oklch(59.7% 0.052 92.7)

  • #967960

    #967960

    oklch(59.7% 0.051 62.4)

  • #7A8563

    #7A8563

    oklch(59.8% 0.051 122.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F5C

    #8A7F5C

    oklch(59.7% 0.052 92.7)

  • #65849C

    #65849C

    oklch(59.9% 0.051 241.9)

  • #857899

    #857899

    oklch(59.6% 0.052 302.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F5C

    #8A7F5C

    oklch(59.7% 0.052 92.7)

  • #5A8892

    #5A8892

    oklch(59.7% 0.052 212.8)

  • #93748D

    #93748D

    oklch(59.7% 0.053 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F5C

    #8A7F5C

    oklch(59.7% 0.052 92.7)

  • #5C8A82

    #5C8A82

    oklch(59.8% 0.052 182.4)

  • #757E9F

    #757E9F

    oklch(59.8% 0.052 272.9)

  • #9A737C

    #9A737C

    oklch(59.7% 0.051 3.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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