#877E51

Closest named color: Drab (#828344). oklch(59% 0.064 98.3), rgb(135, 126, 81).

Aa

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

About this color

#877E51 is a medium-dark, muted yellow. In OKLCH its lightness is 59%, its chroma 0.064 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.026 away. Black text reads best on it, at 5.13:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.13:1
White text4.09:1

Values

HEX#877E51
RGBrgb(135, 126, 81)
HSLhsl(50, 25%, 42%)
OKLCHoklch(59% 0.064 98.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 #877E51 4.09:1 AA large text Lc -73.6 Content text, not long reading
Black text on #877E51 5.13:1 AA Lc 36.0 Non-text elements, placeholder text
#877E51 text on white 4.09:1 AA large text Lc 68.1 Content text, not long reading
#877E51 text on black 5.13:1 AA Lc -33.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 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

    #C5C1AC

    oklch(80.8% 0.029 98.1)

  5. Step 400

    400

    #A8A181

    oklch(70.6% 0.045 97.1)

  6. Step 500

    500

    #938A61

    oklch(63.1% 0.058 97.3)

  7. Step 600

    600 (this color)

    #877E51

    oklch(59% 0.064 98.3)

  8. Step 700

    700

    #696139

    oklch(49% 0.059 98.3)

  9. Step 800

    800

    #564F2F

    oklch(42.6% 0.049 97.3)

  10. Step 900

    900

    #47422A

    oklch(37.7% 0.038 97.8)

  11. Step 950

    950

    #292719

    oklch(27% 0.024 101)

Export this scale for Tailwind in the Tailwind colors tool

#877E51 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)#867C4E0.006
Deuteranopia (no green cones)#897F530.005
Tritanopia (no blue cones)#8F78730.059
Achromatopsia (no color)#7D7D7D0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #877E51

    #877E51

    oklch(59% 0.064 98.3)

  • #747AA3

    #747AA3

    oklch(59% 0.063 277.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877E51

    #877E51

    oklch(59% 0.064 98.3)

  • #977653

    #977653

    oklch(58.9% 0.064 67.7)

  • #72855C

    #72855C

    oklch(59% 0.064 128.4)

Open the analogous palette in the generator

Split complementary

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

  • #877E51

    #877E51

    oklch(59% 0.064 98.3)

  • #5F81A2

    #5F81A2

    oklch(59% 0.064 248.2)

  • #88739B

    #88739B

    oklch(59% 0.064 308.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877E51

    #877E51

    oklch(59% 0.064 98.3)

  • #4F8797

    #4F8797

    oklch(59.1% 0.064 218.2)

  • #976F8A

    #976F8A

    oklch(59.1% 0.063 338.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877E51

    #877E51

    oklch(59% 0.064 98.3)

  • #4D8A84

    #4D8A84

    oklch(59% 0.064 187.4)

  • #747AA3

    #747AA3

    oklch(59% 0.063 277.8)

  • #9F6D76

    #9F6D76

    oklch(58.9% 0.065 7.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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