#877E52

Closest named color: Drab (#828344). oklch(59% 0.063 98), rgb(135, 126, 82).

Aa

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

About this color

#877E52 is a medium-dark, muted yellow. In OKLCH its lightness is 59%, its chroma 0.063 and its hue 98°. 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 5.13:1.

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

Values

HEX#877E52
RGBrgb(135, 126, 82)
HSLhsl(50, 24%, 43%)
OKLCHoklch(59% 0.063 98)

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 #877E52 4.08:1 AA large text Lc -73.5 Content text, not long reading
Black text on #877E52 5.13:1 AA Lc 36.0 Non-text elements, placeholder text
#877E52 text on white 4.08:1 AA large text Lc 68.0 Content text, not long reading
#877E52 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

    #C5C1AD

    oklch(80.9% 0.028 97.7)

  5. Step 400

    400

    #A8A181

    oklch(70.6% 0.045 97.1)

  6. Step 500

    500

    #928A62

    oklch(63% 0.057 98.2)

  7. Step 600

    600 (this color)

    #877E52

    oklch(59% 0.063 98)

  8. Step 700

    700

    #69613A

    oklch(49% 0.057 98)

  9. Step 800

    800

    #564F30

    oklch(42.6% 0.048 97)

  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

#877E52 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)#867C4F0.006
Deuteranopia (no green cones)#897F540.005
Tritanopia (no blue cones)#8F78730.057
Achromatopsia (no color)#7D7D7D0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #877E52

    #877E52

    oklch(59% 0.063 98)

  • #747AA3

    #747AA3

    oklch(59% 0.063 277.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877E52

    #877E52

    oklch(59% 0.063 98)

  • #967754

    #967754

    oklch(59.1% 0.063 69.5)

  • #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°).

  • #877E52

    #877E52

    oklch(59% 0.063 98)

  • #5F81A1

    #5F81A1

    oklch(59% 0.063 247.4)

  • #88749A

    #88749A

    oklch(59.1% 0.061 308.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877E52

    #877E52

    oklch(59% 0.063 98)

  • #508796

    #508796

    oklch(59.1% 0.062 217.2)

  • #966F8A

    #966F8A

    oklch(59% 0.062 338.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877E52

    #877E52

    oklch(59% 0.063 98)

  • #4E8A84

    #4E8A84

    oklch(59.1% 0.064 187.4)

  • #747AA3

    #747AA3

    oklch(59% 0.063 277.8)

  • #9E6E76

    #9E6E76

    oklch(59% 0.062 8.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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