#877B4A

Closest named color: Drab (#828344). oklch(58.2% 0.069 96), rgb(135, 123, 74).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.96:1
White text4.23:1

Values

HEX#877B4A
RGBrgb(135, 123, 74)
HSLhsl(48, 29%, 41%)
OKLCHoklch(58.2% 0.069 96)

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 #877B4A 4.23:1 AA large text Lc -74.7 Content text, not long reading
Black text on #877B4A 4.96:1 AA Lc 34.9 Non-text elements, placeholder text
#877B4A text on white 4.23:1 AA large text Lc 69.2 Content text, not long reading
#877B4A text on black 4.96:1 AA Lc -32.5 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

    #DCD9CD

    oklch(88.4% 0.017 95.2)

  4. Step 300

    300

    #C6C1AB

    oklch(80.9% 0.031 96.5)

  5. Step 400

    400

    #AAA17E

    oklch(70.8% 0.05 95.3)

  6. Step 500

    500

    #958A5D

    oklch(63.2% 0.064 96.1)

  7. Step 600

    600 (this color)

    #877B4A

    oklch(58.2% 0.069 96)

  8. Step 700

    700

    #6B6134

    oklch(49.1% 0.065 97.1)

  9. Step 800

    800

    #584F2C

    oklch(42.8% 0.053 95.4)

  10. Step 900

    900

    #484228

    oklch(37.8% 0.041 96.7)

  11. Step 950

    950

    #2A2617

    oklch(26.8% 0.026 95)

Export this scale for Tailwind in the Tailwind colors tool

#877B4A 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)#8479460.009
Deuteranopia (no green cones)#877D4C0.005
Tritanopia (no blue cones)#8F746F0.063
Achromatopsia (no color)#7B7B7B0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #877B4A

    #877B4A

    oklch(58.2% 0.069 96)

  • #6F78A4

    #6F78A4

    oklch(58.2% 0.069 275.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877B4A

    #877B4A

    oklch(58.2% 0.069 96)

  • #97734E

    #97734E

    oklch(58.2% 0.069 66.5)

  • #718355

    #718355

    oklch(58.3% 0.07 125.9)

Open the analogous palette in the generator

Split complementary

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

  • #877B4A

    #877B4A

    oklch(58.2% 0.069 96)

  • #587FA2

    #587FA2

    oklch(58.2% 0.07 246.4)

  • #85709C

    #85709C

    oklch(58.1% 0.07 306.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877B4A

    #877B4A

    oklch(58.2% 0.069 96)

  • #468595

    #468595

    oklch(58.1% 0.069 216.3)

  • #956B8B

    #956B8B

    oklch(58.1% 0.07 335.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877B4A

    #877B4A

    oklch(58.2% 0.069 96)

  • #468881

    #468881

    oklch(58.1% 0.069 186.5)

  • #6F78A4

    #6F78A4

    oklch(58.2% 0.069 275.2)

  • #9F6A74

    #9F6A74

    oklch(58.3% 0.069 7.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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