#8A7F5B

Closest named color: Brown Grey (#8D8468). oklch(59.7% 0.053 93.1), rgb(138, 127, 91).

Aa

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

About this color

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

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

Values

HEX#8A7F5B
RGBrgb(138, 127, 91)
HSLhsl(46, 21%, 45%)
OKLCHoklch(59.7% 0.053 93.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 #8A7F5B 3.98:1 AA large text Lc -72.7 Content text, not long reading
Black text on #8A7F5B 5.26:1 AA Lc 36.9 Non-text elements, placeholder text
#8A7F5B text on white 3.98:1 AA large text Lc 67.2 Content text, not long reading
#8A7F5B text on black 5.26: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

    #C6C1AE

    oklch(81% 0.027 94.8)

  5. Step 400

    400

    #A9A084

    oklch(70.6% 0.041 92.3)

  6. Step 500

    500 (this color)

    #8A7F5B

    oklch(59.7% 0.053 93.1)

  7. Step 600

    600

    #7F734C

    oklch(55.7% 0.057 93)

  8. Step 700

    700

    #6B603D

    oklch(49.1% 0.053 92.6)

  9. Step 800

    800

    #574F32

    oklch(42.8% 0.045 94.5)

  10. Step 900

    900

    #48412C

    oklch(37.6% 0.035 91.8)

  11. Step 950

    950

    #2A261A

    oklch(26.9% 0.022 91.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A7F5B 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)#877D590.008
Deuteranopia (no green cones)#8A815C0.005
Tritanopia (no blue cones)#917A760.048
Achromatopsia (no color)#7F7F7F0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F5B

    #8A7F5B

    oklch(59.7% 0.053 93.1)

  • #757EA0

    #757EA0

    oklch(59.8% 0.053 273.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F5B

    #8A7F5B

    oklch(59.7% 0.053 93.1)

  • #96795F

    #96795F

    oklch(59.7% 0.052 63.4)

  • #798562

    #798562

    oklch(59.7% 0.053 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F5B

    #8A7F5B

    oklch(59.7% 0.053 93.1)

  • #64839D

    #64839D

    oklch(59.6% 0.053 244.1)

  • #86789A

    #86789A

    oklch(59.8% 0.053 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F5B

    #8A7F5B

    oklch(59.7% 0.053 93.1)

  • #598892

    #598892

    oklch(59.7% 0.053 212.5)

  • #93748D

    #93748D

    oklch(59.7% 0.053 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F5B

    #8A7F5B

    oklch(59.7% 0.053 93.1)

  • #5B8A82

    #5B8A82

    oklch(59.7% 0.053 182.6)

  • #757EA0

    #757EA0

    oklch(59.8% 0.053 273.2)

  • #9B727C

    #9B727C

    oklch(59.6% 0.053 2.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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