#8A7F5F

Closest named color: Brown Grey (#8D8468). oklch(59.8% 0.048 91.3), rgb(138, 127, 95).

Aa

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

About this color

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

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

Values

HEX#8A7F5F
RGBrgb(138, 127, 95)
HSLhsl(45, 18%, 46%)
OKLCHoklch(59.8% 0.048 91.3)

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 #8A7F5F 3.97:1 AA large text Lc -72.6 Content text, not long reading
Black text on #8A7F5F 5.28:1 AA Lc 37.0 Non-text elements, placeholder text
#8A7F5F text on white 3.97:1 AA large text Lc 67.1 Content text, not long reading
#8A7F5F text on black 5.28:1 AA Lc -34.6 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

    #EBEAE5

    oklch(93.6% 0.007 97.4)

  3. Step 200

    200

    #DCD9D0

    oklch(88.5% 0.013 91.5)

  4. Step 300

    300

    #C6C0B0

    oklch(80.8% 0.023 89.8)

  5. Step 400

    400

    #A9A087

    oklch(70.7% 0.037 90.6)

  6. Step 500

    500 (this color)

    #8A7F5F

    oklch(59.8% 0.048 91.3)

  7. Step 600

    600

    #7E7350

    oklch(55.7% 0.052 92.7)

  8. Step 700

    700

    #6B6041

    oklch(49.1% 0.048 90.8)

  9. Step 800

    800

    #574E36

    oklch(42.6% 0.039 89.9)

  10. Step 900

    900

    #48412F

    oklch(37.7% 0.03 89.3)

  11. Step 950

    950

    #2A261B

    oklch(26.9% 0.02 90.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A7F5F 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)#867E5D0.008
Deuteranopia (no green cones)#8981600.005
Tritanopia (no blue cones)#917A760.043
Achromatopsia (no color)#8080800.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F5F

    #8A7F5F

    oklch(59.8% 0.048 91.3)

  • #757E9D

    #757E9D

    oklch(59.7% 0.049 272.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F5F

    #8A7F5F

    oklch(59.8% 0.048 91.3)

  • #957963

    #957963

    oklch(59.7% 0.047 59.9)

  • #7B8465

    #7B8465

    oklch(59.7% 0.046 121)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F5F

    #8A7F5F

    oklch(59.8% 0.048 91.3)

  • #66849A

    #66849A

    oklch(59.8% 0.048 240.4)

  • #847998

    #847998

    oklch(59.7% 0.048 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F5F

    #8A7F5F

    oklch(59.8% 0.048 91.3)

  • #5E8890

    #5E8890

    oklch(59.9% 0.048 210.7)

  • #91758D

    #91758D

    oklch(59.7% 0.049 331)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F5F

    #8A7F5F

    oklch(59.8% 0.048 91.3)

  • #608981

    #608981

    oklch(59.7% 0.047 181.2)

  • #757E9D

    #757E9D

    oklch(59.7% 0.049 272.2)

  • #99747E

    #99747E

    oklch(59.8% 0.048 0.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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