#8A7F5A

Closest named color: Brown Grey (#8D8468). oklch(59.7% 0.054 93.5), rgb(138, 127, 90).

Aa

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

About this color

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

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

Values

HEX#8A7F5A
RGBrgb(138, 127, 90)
HSLhsl(46, 21%, 45%)
OKLCHoklch(59.7% 0.054 93.5)

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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DCD9CE

    oklch(88.5% 0.015 94.2)

  4. Step 300

    300

    #C6C1AE

    oklch(81% 0.027 94.8)

  5. Step 400

    400

    #A9A183

    oklch(70.8% 0.043 94.8)

  6. Step 500

    500 (this color)

    #8A7F5A

    oklch(59.7% 0.054 93.5)

  7. Step 600

    600

    #7F734B

    oklch(55.7% 0.059 93.3)

  8. Step 700

    700

    #6B603C

    oklch(49% 0.054 93.1)

  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

#8A7F5A 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)#877D570.008
Deuteranopia (no green cones)#8A815B0.005
Tritanopia (no blue cones)#9179750.049
Achromatopsia (no color)#7F7F7F0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F5A

    #8A7F5A

    oklch(59.7% 0.054 93.5)

  • #757DA0

    #757DA0

    oklch(59.6% 0.054 274.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F5A

    #8A7F5A

    oklch(59.7% 0.054 93.5)

  • #97795E

    #97795E

    oklch(59.8% 0.054 63.5)

  • #798561

    #798561

    oklch(59.7% 0.054 123)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F5A

    #8A7F5A

    oklch(59.7% 0.054 93.5)

  • #63839E

    #63839E

    oklch(59.6% 0.055 244.4)

  • #86789A

    #86789A

    oklch(59.8% 0.053 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F5A

    #8A7F5A

    oklch(59.7% 0.054 93.5)

  • #588893

    #588893

    oklch(59.7% 0.054 213.7)

  • #94738D

    #94738D

    oklch(59.6% 0.055 333.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F5A

    #8A7F5A

    oklch(59.7% 0.054 93.5)

  • #598A82

    #598A82

    oklch(59.6% 0.055 183)

  • #757DA0

    #757DA0

    oklch(59.6% 0.054 274.6)

  • #9C727C

    #9C727C

    oklch(59.7% 0.055 3.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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