#877D45

Closest named color: Drab (#828344). oklch(58.6% 0.077 99.4), rgb(135, 125, 69).

Aa

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

About this color

#877D45 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.077 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.019 away. Black text reads best on it, at 5.04:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.04:1
White text4.15:1

Values

HEX#877D45
RGBrgb(135, 125, 69)
HSLhsl(51, 32%, 40%)
OKLCHoklch(58.6% 0.077 99.4)

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 #877D45 4.15:1 AA large text Lc -74.1 Content text, not long reading
Black text on #877D45 5.04:1 AA Lc 35.5 Non-text elements, placeholder text
#877D45 text on white 4.15:1 AA large text Lc 68.6 Content text, not long reading
#877D45 text on black 5.04:1 AA Lc -33.1 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

    #DCDACB

    oklch(88.6% 0.02 100.6)

  4. Step 300

    300

    #C6C1A8

    oklch(80.8% 0.035 97.8)

  5. Step 400

    400

    #A9A27A

    oklch(70.8% 0.056 99.3)

  6. Step 500

    500

    #948B57

    oklch(63.2% 0.072 99.6)

  7. Step 600

    600 (this color)

    #877D45

    oklch(58.6% 0.077 99.4)

  8. Step 700

    700

    #6B612E

    oklch(49% 0.072 98.4)

  9. Step 800

    800

    #575027

    oklch(42.8% 0.06 99.8)

  10. Step 900

    900

    #474224

    oklch(37.6% 0.047 100)

  11. Step 950

    950

    #2A2716

    oklch(27.1% 0.029 99.4)

Export this scale for Tailwind in the Tailwind colors tool

#877D45 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)#877A400.009
Deuteranopia (no green cones)#897E470.005
Tritanopia (no blue cones)#9076700.071
Achromatopsia (no color)#7C7C7C0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #877D45

    #877D45

    oklch(58.6% 0.077 99.4)

  • #7277A9

    #7277A9

    oklch(58.5% 0.077 279.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877D45

    #877D45

    oklch(58.6% 0.077 99.4)

  • #9A7448

    #9A7448

    oklch(58.7% 0.077 69.5)

  • #6D8554

    #6D8554

    oklch(58.5% 0.076 129.7)

Open the analogous palette in the generator

Split complementary

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

  • #877D45

    #877D45

    oklch(58.6% 0.077 99.4)

  • #5780A8

    #5780A8

    oklch(58.6% 0.077 248.7)

  • #8A6F9F

    #8A6F9F

    oklch(58.6% 0.078 309.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877D45

    #877D45

    oklch(58.6% 0.077 99.4)

  • #40879B

    #40879B

    oklch(58.6% 0.077 218.8)

  • #9B6A8B

    #9B6A8B

    oklch(58.6% 0.077 339.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877D45

    #877D45

    oklch(58.6% 0.077 99.4)

  • #3C8B86

    #3C8B86

    oklch(58.6% 0.078 189.6)

  • #7277A9

    #7277A9

    oklch(58.5% 0.077 279.3)

  • #A46972

    #A46972

    oklch(58.7% 0.076 9.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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