#877F4D

Closest named color: Drab (#828344). oklch(59.2% 0.07 100.3), rgb(135, 127, 77).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamuted (0.070)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.17:1
White text4.05:1

Values

HEX#877F4D
RGBrgb(135, 127, 77)
HSLhsl(52, 27%, 42%)
OKLCHoklch(59.2% 0.07 100.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 #877F4D 4.05:1 AA large text Lc -73.3 Content text, not long reading
Black text on #877F4D 5.17:1 AA Lc 36.3 Non-text elements, placeholder text
#877F4D text on white 4.05:1 AA large text Lc 67.8 Content text, not long reading
#877F4D text on black 5.17:1 AA Lc -33.9 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DBDACD

    oklch(88.6% 0.018 103.2)

  4. Step 300

    300

    #C5C2AB

    oklch(81% 0.032 101)

  5. Step 400

    400

    #A7A27E

    oklch(70.7% 0.05 101)

  6. Step 500

    500

    #928B5D

    oklch(63.1% 0.064 100.6)

  7. Step 600

    600 (this color)

    #877F4D

    oklch(59.2% 0.07 100.3)

  8. Step 700

    700

    #696234

    oklch(49.2% 0.066 100.8)

  9. Step 800

    800

    #56502C

    oklch(42.8% 0.054 100)

  10. Step 900

    900

    #474228

    oklch(37.7% 0.041 98.7)

  11. Step 950

    950

    #292718

    oklch(27% 0.026 101.5)

Export this scale for Tailwind in the Tailwind colors tool

#877F4D 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)#887C490.008
Deuteranopia (no green cones)#8A804F0.006
Tritanopia (no blue cones)#8F78730.065
Achromatopsia (no color)#7E7E7E0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #877F4D

    #877F4D

    oklch(59.2% 0.07 100.3)

  • #7579A7

    #7579A7

    oklch(59.1% 0.07 280.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877F4D

    #877F4D

    oklch(59.2% 0.07 100.3)

  • #99774F

    #99774F

    oklch(59.3% 0.07 70.3)

  • #70865A

    #70865A

    oklch(59.1% 0.069 129.9)

Open the analogous palette in the generator

Split complementary

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

  • #877F4D

    #877F4D

    oklch(59.2% 0.07 100.3)

  • #5E81A6

    #5E81A6

    oklch(59.2% 0.069 250.4)

  • #8B729D

    #8B729D

    oklch(59.2% 0.07 310.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877F4D

    #877F4D

    oklch(59.2% 0.07 100.3)

  • #4A889B

    #4A889B

    oklch(59.3% 0.07 220)

  • #9A6D8B

    #9A6D8B

    oklch(59% 0.071 339.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877F4D

    #877F4D

    oklch(59.2% 0.07 100.3)

  • #478B87

    #478B87

    oklch(59.1% 0.069 190.4)

  • #7579A7

    #7579A7

    oklch(59.1% 0.07 280.2)

  • #A36C74

    #A36C74

    oklch(59.1% 0.071 9.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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