#877B2D

Closest named color: Hazel (#8E7618). oklch(57.8% 0.099 100.5), rgb(135, 123, 45).

Aa

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

About this color

#877B2D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.099 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.018 away. Black text reads best on it, at 4.90:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.90:1
White text4.28:1

Values

HEX#877B2D
RGBrgb(135, 123, 45)
HSLhsl(52, 50%, 35%)
OKLCHoklch(57.8% 0.099 100.5)

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 #877B2D 4.28:1 AA large text Lc -75.0 Fine for body text
Black text on #877B2D 4.90:1 AA Lc 34.5 Non-text elements, placeholder text
#877B2D text on white 4.28:1 AA large text Lc 69.6 Content text, not long reading
#877B2D text on black 4.90:1 AA Lc -32.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC8

    oklch(88.5% 0.024 101.7)

  4. Step 300

    300

    #C7C2A1

    oklch(80.9% 0.045 100.2)

  5. Step 400

    400

    #AAA26E

    oklch(70.6% 0.071 100.5)

  6. Step 500

    500

    #968B46

    oklch(63.1% 0.091 100.4)

  7. Step 600

    600 (this color)

    #877B2D

    oklch(57.8% 0.099 100.5)

  8. Step 700

    700

    #6D6217

    oklch(49.2% 0.093 100.6)

  9. Step 800

    800

    #585017

    oklch(42.7% 0.076 101.2)

  10. Step 900

    900

    #49421A

    oklch(37.7% 0.059 99.5)

  11. Step 950

    950

    #2A2710

    oklch(27% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#877B2D 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)#8677230.012
Deuteranopia (no green cones)#8A7C310.007
Tritanopia (no blue cones)#91726B0.091
Achromatopsia (no color)#7A7A7A0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #877B2D

    #877B2D

    oklch(57.8% 0.099 100.5)

  • #6F72B3

    #6F72B3

    oklch(57.7% 0.099 280.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877B2D

    #877B2D

    oklch(57.8% 0.099 100.5)

  • #9F6F31

    #9F6F31

    oklch(57.9% 0.099 70.4)

  • #658645

    #658645

    oklch(57.9% 0.099 131)

Open the analogous palette in the generator

Split complementary

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

  • #877B2D

    #877B2D

    oklch(57.8% 0.099 100.5)

  • #4A7DB2

    #4A7DB2

    oklch(57.7% 0.099 250.7)

  • #8C68A5

    #8C68A5

    oklch(57.7% 0.099 310.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877B2D

    #877B2D

    oklch(57.8% 0.099 100.5)

  • #1C87A2

    #1C87A2

    oklch(57.9% 0.098 219.9)

  • #A1628C

    #A1628C

    oklch(57.9% 0.099 340.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877B2D

    #877B2D

    oklch(57.8% 0.099 100.5)

  • #058C87

    #058C87

    oklch(57.8% 0.099 190.3)

  • #6F72B3

    #6F72B3

    oklch(57.7% 0.099 280.8)

  • #AB606C

    #AB606C

    oklch(57.8% 0.098 10.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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