#877317

Closest named color: Hazel (#8E7618). oklch(55.8% 0.107 95.8), rgb(135, 115, 23).

Aa

White text reads best on this color (4.67:1).

About this color

#877317 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.107 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.015 away. White text reads best on it, at 4.67:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.49:1
White text4.67:1

Values

HEX#877317
RGBrgb(135, 115, 23)
HSLhsl(49, 71%, 31%)
OKLCHoklch(55.8% 0.107 95.8)

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 #877317 4.67:1 AA Lc -77.8 Fine for body text
Black text on #877317 4.49:1 AA large text Lc 31.8 Non-text elements, placeholder text
#877317 text on white 4.67:1 AA Lc 72.3 Content text, not long reading
#877317 text on black 4.49:1 AA large text Lc -29.4 Dividers and decoration only

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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DED9C6

    oklch(88.4% 0.026 94.8)

  4. Step 300

    300

    #CAC19E

    oklch(80.9% 0.048 95.3)

  5. Step 400

    400

    #AFA168

    oklch(70.8% 0.078 96)

  6. Step 500

    500

    #9B893D

    oklch(63.1% 0.099 96.1)

  7. Step 600

    600 (this color)

    #877317

    oklch(55.8% 0.107 95.8)

  8. Step 700

    700

    #726004

    oklch(49.2% 0.1 96)

  9. Step 800

    800

    #5D4E0B

    oklch(42.7% 0.082 95.3)

  10. Step 900

    900

    #4C4114

    oklch(37.7% 0.064 95.3)

  11. Step 950

    950

    #2C260D

    oklch(26.9% 0.041 96)

Export this scale for Tailwind in the Tailwind colors tool

#877317 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)#8070000.017
Deuteranopia (no green cones)#85771E0.011
Tritanopia (no blue cones)#9269620.098
Achromatopsia (no color)#7474740.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #877317

    #877317

    oklch(55.8% 0.107 95.8)

  • #636DB2

    #636DB2

    oklch(55.7% 0.107 276.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877317

    #877317

    oklch(55.8% 0.107 95.8)

  • #9E6624

    #9E6624

    oklch(55.9% 0.107 66.2)

  • #657F34

    #657F34

    oklch(55.9% 0.106 125.7)

Open the analogous palette in the generator

Split complementary

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

  • #877317

    #877317

    oklch(55.8% 0.107 95.8)

  • #3779AF

    #3779AF

    oklch(55.8% 0.108 246.1)

  • #8362A6

    #8362A6

    oklch(55.7% 0.108 305.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877317

    #877317

    oklch(55.8% 0.107 95.8)

  • #008299

    #008299

    oklch(55.9% 0.099 215.9)

  • #9B5A8C

    #9B5A8C

    oklch(55.9% 0.108 336)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877317

    #877317

    oklch(55.8% 0.107 95.8)

  • #00867C

    #00867C

    oklch(55.8% 0.098 185.7)

  • #636DB2

    #636DB2

    oklch(55.7% 0.107 276.1)

  • #A8576B

    #A8576B

    oklch(55.9% 0.108 5.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #877317 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.