#877A4C

Closest named color: Drab (#828344). oklch(58% 0.066 94.2), rgb(135, 122, 76).

Aa

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

About this color

#877A4C is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.066 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.031 away. Black text reads best on it, at 4.91:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.91:1
White text4.26:1

Values

HEX#877A4C
RGBrgb(135, 122, 76)
HSLhsl(47, 28%, 41%)
OKLCHoklch(58% 0.066 94.2)

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 #877A4C 4.26:1 AA large text Lc -75.0 Content text, not long reading
Black text on #877A4C 4.91:1 AA Lc 34.6 Non-text elements, placeholder text
#877A4C text on white 4.26:1 AA large text Lc 69.5 Content text, not long reading
#877A4C text on black 4.91:1 AA Lc -32.2 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

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DCD9CD

    oklch(88.4% 0.017 95.2)

  4. Step 300

    300

    #C7C1AC

    oklch(81% 0.029 93.8)

  5. Step 400

    400

    #AAA17F

    oklch(70.8% 0.048 95)

  6. Step 500

    500

    #95895F

    oklch(63% 0.06 94.1)

  7. Step 600

    600 (this color)

    #877A4C

    oklch(58% 0.066 94.2)

  8. Step 700

    700

    #6C6037

    oklch(49% 0.061 93.6)

  9. Step 800

    800

    #584F2E

    oklch(42.8% 0.051 94.6)

  10. Step 900

    900

    #484129

    oklch(37.6% 0.039 93.8)

  11. Step 950

    950

    #2A2618

    oklch(26.9% 0.025 94.1)

Export this scale for Tailwind in the Tailwind colors tool

#877A4C 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)#8378490.009
Deuteranopia (no green cones)#867C4E0.005
Tritanopia (no blue cones)#8F736F0.061
Achromatopsia (no color)#7A7A7A0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #877A4C

    #877A4C

    oklch(58% 0.066 94.2)

  • #6E78A2

    #6E78A2

    oklch(58.1% 0.066 273.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877A4C

    #877A4C

    oklch(58% 0.066 94.2)

  • #967250

    #967250

    oklch(57.9% 0.066 64.3)

  • #728156

    #728156

    oklch(58% 0.065 124)

Open the analogous palette in the generator

Split complementary

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

  • #877A4C

    #877A4C

    oklch(58% 0.066 94.2)

  • #587F9F

    #587F9F

    oklch(58% 0.066 244)

  • #83719A

    #83719A

    oklch(58.1% 0.065 304.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877A4C

    #877A4C

    oklch(58% 0.066 94.2)

  • #488592

    #488592

    oklch(58.1% 0.066 213.1)

  • #936C8B

    #936C8B

    oklch(58.1% 0.066 333.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877A4C

    #877A4C

    oklch(58% 0.066 94.2)

  • #49877F

    #49877F

    oklch(57.9% 0.066 184.8)

  • #6E78A2

    #6E78A2

    oklch(58.1% 0.066 273.8)

  • #9C6A76

    #9C6A76

    oklch(58% 0.066 3.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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