#877B2E

Closest named color: Hazel (#8E7618). oklch(57.8% 0.098 100.4), rgb(135, 123, 46).

Aa

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

About this color

#877B2E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.098 and its hue 100°. 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.098)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.90:1
White text4.28:1

Values

HEX#877B2E
RGBrgb(135, 123, 46)
HSLhsl(52, 49%, 35%)
OKLCHoklch(57.8% 0.098 100.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 #877B2E 4.28:1 AA large text Lc -75.0 Fine for body text
Black text on #877B2E 4.90:1 AA Lc 34.5 Non-text elements, placeholder text
#877B2E text on white 4.28:1 AA large text Lc 69.5 Content text, not long reading
#877B2E 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

    #C7C2A2

    oklch(81% 0.044 100)

  5. Step 400

    400

    #AAA26E

    oklch(70.6% 0.071 100.5)

  6. Step 500

    500

    #968B47

    oklch(63.2% 0.09 100.3)

  7. Step 600

    600 (this color)

    #877B2E

    oklch(57.8% 0.098 100.4)

  8. Step 700

    700

    #6D6219

    oklch(49.3% 0.091 100.4)

  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

#877B2E 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)#8678250.010
Deuteranopia (no green cones)#8A7C320.007
Tritanopia (no blue cones)#91726B0.091
Achromatopsia (no color)#7A7A7A0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #877B2E

    #877B2E

    oklch(57.8% 0.098 100.4)

  • #6F73B3

    #6F73B3

    oklch(57.9% 0.098 280.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877B2E

    #877B2E

    oklch(57.8% 0.098 100.4)

  • #9E6F32

    #9E6F32

    oklch(57.8% 0.098 70.7)

  • #668545

    #668545

    oklch(57.7% 0.097 130.2)

Open the analogous palette in the generator

Split complementary

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

  • #877B2E

    #877B2E

    oklch(57.8% 0.098 100.4)

  • #4A7DB2

    #4A7DB2

    oklch(57.7% 0.099 250.7)

  • #8C69A5

    #8C69A5

    oklch(57.9% 0.098 310.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877B2E

    #877B2E

    oklch(57.8% 0.098 100.4)

  • #1E87A2

    #1E87A2

    oklch(57.9% 0.098 220.1)

  • #A0628C

    #A0628C

    oklch(57.8% 0.098 339.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877B2E

    #877B2E

    oklch(57.8% 0.098 100.4)

  • #0A8C87

    #0A8C87

    oklch(57.8% 0.098 190.3)

  • #6F73B3

    #6F73B3

    oklch(57.9% 0.098 280.1)

  • #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 #877B2E, closest first.

Similar named colors

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

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