#87731C

Closest named color: Hazel (#8E7618). oklch(55.9% 0.104 95.4), rgb(135, 115, 28).

Aa

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

About this color

#87731C is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.104 and its hue 95°. 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.66:1.

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

Values

HEX#87731C
RGBrgb(135, 115, 28)
HSLhsl(49, 66%, 32%)
OKLCHoklch(55.9% 0.104 95.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 #87731C 4.66:1 AA Lc -77.7 Fine for body text
Black text on #87731C 4.49:1 AA large text Lc 31.8 Non-text elements, placeholder text
#87731C text on white 4.66:1 AA Lc 72.3 Content text, not long reading
#87731C 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

    #CAC19F

    oklch(80.9% 0.047 94.9)

  5. Step 400

    400

    #AFA16A

    oklch(70.8% 0.075 95.6)

  6. Step 500

    500

    #9B8940

    oklch(63.1% 0.096 95.6)

  7. Step 600

    600 (this color)

    #87731C

    oklch(55.9% 0.104 95.4)

  8. Step 700

    700

    #72600B

    oklch(49.2% 0.097 95.6)

  9. Step 800

    800

    #5D4E0F

    oklch(42.7% 0.08 94.8)

  10. Step 900

    900

    #4C4116

    oklch(37.7% 0.062 94.8)

  11. Step 950

    950

    #2C260E

    oklch(26.9% 0.039 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#87731C 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)#80710A0.016
Deuteranopia (no green cones)#8577220.011
Tritanopia (no blue cones)#9269620.096
Achromatopsia (no color)#7474740.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #87731C

    #87731C

    oklch(55.9% 0.104 95.4)

  • #636EB1

    #636EB1

    oklch(55.9% 0.105 275.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87731C

    #87731C

    oklch(55.9% 0.104 95.4)

  • #9D6628

    #9D6628

    oklch(55.8% 0.104 65.6)

  • #667F35

    #667F35

    oklch(56% 0.105 125.3)

Open the analogous palette in the generator

Split complementary

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

  • #87731C

    #87731C

    oklch(55.9% 0.104 95.4)

  • #3979AD

    #3979AD

    oklch(55.8% 0.104 245.8)

  • #8363A5

    #8363A5

    oklch(55.9% 0.105 305.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87731C

    #87731C

    oklch(55.9% 0.104 95.4)

  • #008298

    #008298

    oklch(55.8% 0.099 215.1)

  • #9A5B8C

    #9A5B8C

    oklch(55.9% 0.105 335.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87731C

    #87731C

    oklch(55.9% 0.104 95.4)

  • #00867C

    #00867C

    oklch(55.8% 0.098 185.7)

  • #636EB1

    #636EB1

    oklch(55.9% 0.105 275.4)

  • #A6586B

    #A6586B

    oklch(55.8% 0.104 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 #87731C, closest first.

Similar named colors

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

Use #87731C 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.