#877B2F

Closest named color: Hazel (#8E7618). oklch(57.8% 0.097 100.3), rgb(135, 123, 47).

Aa

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

About this color

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

Values

HEX#877B2F
RGBrgb(135, 123, 47)
HSLhsl(52, 48%, 36%)
OKLCHoklch(57.8% 0.097 100.3)

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

    #AAA26F

    oklch(70.7% 0.07 100.4)

  6. Step 500

    500

    #968B48

    oklch(63.2% 0.089 100.1)

  7. Step 600

    600 (this color)

    #877B2F

    oklch(57.8% 0.097 100.3)

  8. Step 700

    700

    #6D621A

    oklch(49.3% 0.091 100.3)

  9. Step 800

    800

    #585018

    oklch(42.7% 0.075 101.1)

  10. Step 900

    900

    #49421B

    oklch(37.7% 0.058 99.3)

  11. Step 950

    950

    #2A2711

    oklch(27% 0.036 101.6)

Export this scale for Tailwind in the Tailwind colors tool

#877B2F 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)#8678260.010
Deuteranopia (no green cones)#8A7C330.007
Tritanopia (no blue cones)#91726B0.090
Achromatopsia (no color)#7A7A7A0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #877B2F

    #877B2F

    oklch(57.8% 0.097 100.3)

  • #6F73B2

    #6F73B2

    oklch(57.9% 0.096 280.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877B2F

    #877B2F

    oklch(57.8% 0.097 100.3)

  • #9E6F33

    #9E6F33

    oklch(57.8% 0.097 70.3)

  • #668546

    #668546

    oklch(57.7% 0.096 130.4)

Open the analogous palette in the generator

Split complementary

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

  • #877B2F

    #877B2F

    oklch(57.8% 0.097 100.3)

  • #4B7DB1

    #4B7DB1

    oklch(57.7% 0.097 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.

  • #877B2F

    #877B2F

    oklch(57.8% 0.097 100.3)

  • #1F87A2

    #1F87A2

    oklch(57.9% 0.097 220.2)

  • #A0628C

    #A0628C

    oklch(57.8% 0.098 339.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877B2F

    #877B2F

    oklch(57.8% 0.097 100.3)

  • #0F8C87

    #0F8C87

    oklch(57.9% 0.097 190.3)

  • #6F73B2

    #6F73B2

    oklch(57.9% 0.096 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 #877B2F, closest first.

Similar named colors

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

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