#8D7F3F

Closest named color: Drab (#828344). oklch(59.5% 0.086 97.2), rgb(141, 127, 63).

Aa

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

About this color

#8D7F3F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.086 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.018 away. Black text reads best on it, at 5.24:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.086)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.24:1
White text4.00:1

Values

HEX#8D7F3F
RGBrgb(141, 127, 63)
HSLhsl(49, 38%, 40%)
OKLCHoklch(59.5% 0.086 97.2)

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 #8D7F3F 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #8D7F3F 5.24:1 AA Lc 36.8 Non-text elements, placeholder text
#8D7F3F text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#8D7F3F text on black 5.24:1 AA Lc -34.3 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 500.

  1. Step 50

    50

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DDDAC8

    oklch(88.6% 0.024 99.1)

  4. Step 300

    300

    #C8C1A3

    oklch(80.9% 0.041 96.3)

  5. Step 400

    400

    #ACA170

    oklch(70.6% 0.068 97)

  6. Step 500

    500 (this color)

    #8D7F3F

    oklch(59.5% 0.086 97.2)

  7. Step 600

    600

    #83732B

    oklch(55.6% 0.093 96.7)

  8. Step 700

    700

    #6F611D

    oklch(49.3% 0.088 97.3)

  9. Step 800

    800

    #5A4F1B

    oklch(42.7% 0.072 97.3)

  10. Step 900

    900

    #4A421C

    oklch(37.8% 0.057 97.6)

  11. Step 950

    950

    #2B2711

    oklch(27.1% 0.037 99.2)

Export this scale for Tailwind in the Tailwind colors tool

#8D7F3F 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)#8A7C390.011
Deuteranopia (no green cones)#8E81420.006
Tritanopia (no blue cones)#9777700.078
Achromatopsia (no color)#7F7F7F0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D7F3F

    #8D7F3F

    oklch(59.5% 0.086 97.2)

  • #727AB2

    #727AB2

    oklch(59.6% 0.086 277.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D7F3F

    #8D7F3F

    oklch(59.5% 0.086 97.2)

  • #A17444

    #A17444

    oklch(59.4% 0.086 66.7)

  • #71884F

    #71884F

    oklch(59.4% 0.085 126.8)

Open the analogous palette in the generator

Split complementary

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

  • #8D7F3F

    #8D7F3F

    oklch(59.5% 0.086 97.2)

  • #5383B0

    #5383B0

    oklch(59.5% 0.087 248)

  • #8C71A7

    #8C71A7

    oklch(59.5% 0.086 306.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D7F3F

    #8D7F3F

    oklch(59.5% 0.086 97.2)

  • #368BA0

    #368BA0

    oklch(59.4% 0.086 217.1)

  • #A06B91

    #A06B91

    oklch(59.6% 0.085 337.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D7F3F

    #8D7F3F

    oklch(59.5% 0.086 97.2)

  • #348F88

    #348F88

    oklch(59.5% 0.086 188)

  • #727AB2

    #727AB2

    oklch(59.6% 0.086 277.2)

  • #AB6976

    #AB6976

    oklch(59.6% 0.086 7.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8D7F3F 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.