#877A51

Closest named color: Dirt (#8A6E45). oklch(58.1% 0.06 92.5), rgb(135, 122, 81).

Aa

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

About this color

#877A51 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.060 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt (#8A6E45), ΔE 0.032 away. Black text reads best on it, at 4.93:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameDirt (#8A6E45)
Black text4.93:1
White text4.25:1

Values

HEX#877A51
RGBrgb(135, 122, 81)
HSLhsl(46, 25%, 42%)
OKLCHoklch(58.1% 0.06 92.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 #877A51 4.25:1 AA large text Lc -74.9 Content text, not long reading
Black text on #877A51 4.93:1 AA Lc 34.7 Non-text elements, placeholder text
#877A51 text on white 4.25:1 AA large text Lc 69.4 Content text, not long reading
#877A51 text on black 4.93:1 AA Lc -32.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

    #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

    #C6C1AD

    oklch(81% 0.028 95.4)

  5. Step 400

    400

    #AAA082

    oklch(70.6% 0.043 91.8)

  6. Step 500

    500

    #958963

    oklch(63.1% 0.055 92.6)

  7. Step 600

    600 (this color)

    #877A51

    oklch(58.1% 0.06 92.5)

  8. Step 700

    700

    #6C603B

    oklch(49.1% 0.056 92.1)

  9. Step 800

    800

    #584E31

    oklch(42.6% 0.046 91.2)

  10. Step 900

    900

    #48412B

    oklch(37.6% 0.036 92.5)

  11. Step 950

    950

    #2A261A

    oklch(26.9% 0.022 91.8)

Export this scale for Tailwind in the Tailwind colors tool

#877A51 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)#82784E0.011
Deuteranopia (no green cones)#867C520.005
Tritanopia (no blue cones)#8F74700.055
Achromatopsia (no color)#7B7B7B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #877A51

    #877A51

    oklch(58.1% 0.06 92.5)

  • #6E799F

    #6E799F

    oklch(58.2% 0.06 271.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877A51

    #877A51

    oklch(58.1% 0.06 92.5)

  • #957356

    #957356

    oklch(58.2% 0.06 61.7)

  • #748159

    #748159

    oklch(58.2% 0.06 122.9)

Open the analogous palette in the generator

Split complementary

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

  • #877A51

    #877A51

    oklch(58.1% 0.06 92.5)

  • #5B7F9C

    #5B7F9C

    oklch(58.1% 0.06 243.4)

  • #817298

    #817298

    oklch(58% 0.06 302.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877A51

    #877A51

    oklch(58.1% 0.06 92.5)

  • #4E8490

    #4E8490

    oklch(58% 0.06 213.5)

  • #906E8A

    #906E8A

    oklch(58.1% 0.059 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877A51

    #877A51

    oklch(58.1% 0.06 92.5)

  • #50877E

    #50877E

    oklch(58.2% 0.06 182.6)

  • #6E799F

    #6E799F

    oklch(58.2% 0.06 271.9)

  • #996C77

    #996C77

    oklch(58.1% 0.059 3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #877A51 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.