#8A875F

Closest named color: Brown Grey (#8D8468). oklch(61.6% 0.057 104.3), rgb(138, 135, 95).

Aa

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

About this color

#8A875F is a medium-dark, muted yellow. In OKLCH its lightness is 62%, its chroma 0.057 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Grey (#8D8468), ΔE 0.018 away. Black text reads best on it, at 5.71:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameBrown Grey (#8D8468)
Black text5.71:1
White text3.67:1

Values

HEX#8A875F
RGBrgb(138, 135, 95)
HSLhsl(56, 18%, 46%)
OKLCHoklch(61.6% 0.057 104.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 #8A875F 3.67:1 AA large text Lc -69.8 Content text, not long reading
Black text on #8A875F 5.71:1 AA Lc 39.7 Non-text elements, placeholder text
#8A875F text on white 3.67:1 AA large text Lc 64.4 Content text, not long reading
#8A875F text on black 5.71:1 AA Lc -37.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

    #F6F6F3

    oklch(97.2% 0.004 106.5)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACE

    oklch(88.5% 0.016 106.7)

  4. Step 300

    300

    #C3C2AE

    oklch(80.9% 0.027 104.7)

  5. Step 400

    400

    #A5A283

    oklch(70.6% 0.043 102.9)

  6. Step 500

    500 (this color)

    #8A875F

    oklch(61.6% 0.057 104.3)

  7. Step 600

    600

    #79754A

    oklch(55.5% 0.061 103.6)

  8. Step 700

    700

    #66633B

    oklch(49.2% 0.058 104.6)

  9. Step 800

    800

    #535031

    oklch(42.6% 0.047 103.5)

  10. Step 900

    900

    #45432C

    oklch(37.8% 0.037 103.8)

  11. Step 950

    950

    #28271A

    oklch(27% 0.023 104.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A875F 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)#8E845C0.009
Deuteranopia (no green cones)#8F86610.009
Tritanopia (no blue cones)#90827D0.051
Achromatopsia (no color)#8585850.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A875F

    #8A875F

    oklch(61.6% 0.057 104.3)

  • #8081A6

    #8081A6

    oklch(61.6% 0.056 283.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A875F

    #8A875F

    oklch(61.6% 0.057 104.3)

  • #99805F

    #99805F

    oklch(61.5% 0.056 74.2)

  • #778D6A

    #778D6A

    oklch(61.6% 0.057 134.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A875F

    #8A875F

    oklch(61.6% 0.057 104.3)

  • #6E87A7

    #6E87A7

    oklch(61.6% 0.057 254.8)

  • #927B9D

    #927B9D

    oklch(61.6% 0.057 314.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A875F

    #8A875F

    oklch(61.6% 0.057 104.3)

  • #5F8D9E

    #5F8D9E

    oklch(61.7% 0.056 223.1)

  • #9E788D

    #9E788D

    oklch(61.6% 0.056 344.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A875F

    #8A875F

    oklch(61.6% 0.057 104.3)

  • #5B908F

    #5B908F

    oklch(61.6% 0.056 194.3)

  • #8081A6

    #8081A6

    oklch(61.6% 0.056 283.4)

  • #A4777A

    #A4777A

    oklch(61.5% 0.057 14.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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