#8A8151

Closest named color: Drab (#828344). oklch(60% 0.067 98.9), rgb(138, 129, 81).

Aa

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

About this color

#8A8151 is a medium-dark, muted yellow. In OKLCH its lightness is 60%, its chroma 0.067 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.023 away. Black text reads best on it, at 5.33:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.33:1
White text3.93:1

Values

HEX#8A8151
RGBrgb(138, 129, 81)
HSLhsl(51, 26%, 43%)
OKLCHoklch(60% 0.067 98.9)

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 #8A8151 3.93:1 AA large text Lc -72.2 Content text, not long reading
Black text on #8A8151 5.33:1 AA Lc 37.4 Non-text elements, placeholder text
#8A8151 text on white 3.93:1 AA large text Lc 66.7 Content text, not long reading
#8A8151 text on black 5.33:1 AA Lc -35.0 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCDACC

    oklch(88.6% 0.019 100.2)

  4. Step 300

    300

    #C6C1A9

    oklch(80.9% 0.033 97.4)

  5. Step 400

    400

    #A9A27C

    oklch(70.8% 0.053 98.8)

  6. Step 500

    500 (this color)

    #8A8151

    oklch(60% 0.067 98.9)

  7. Step 600

    600

    #7E7440

    oklch(55.6% 0.073 98.7)

  8. Step 700

    700

    #6A6131

    oklch(49% 0.068 98.9)

  9. Step 800

    800

    #57502A

    oklch(42.9% 0.057 99.1)

  10. Step 900

    900

    #474226

    oklch(37.7% 0.044 99.4)

  11. Step 950

    950

    #2A2717

    oklch(27.1% 0.028 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A8151 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)#8A7E4D0.008
Deuteranopia (no green cones)#8C82530.005
Tritanopia (no blue cones)#927B750.061
Achromatopsia (no color)#8080800.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8151

    #8A8151

    oklch(60% 0.067 98.9)

  • #777CA8

    #777CA8

    oklch(59.9% 0.067 279.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8151

    #8A8151

    oklch(60% 0.067 98.9)

  • #9B7953

    #9B7953

    oklch(60% 0.068 69.1)

  • #74885D

    #74885D

    oklch(59.9% 0.067 128.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A8151

    #8A8151

    oklch(60% 0.067 98.9)

  • #6084A7

    #6084A7

    oklch(60% 0.067 248.3)

  • #8C759F

    #8C759F

    oklch(59.9% 0.068 309.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8151

    #8A8151

    oklch(60% 0.067 98.9)

  • #4E8A9B

    #4E8A9B

    oklch(59.9% 0.067 218.2)

  • #9B708E

    #9B708E

    oklch(59.8% 0.068 338)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8151

    #8A8151

    oklch(60% 0.067 98.9)

  • #4C8D88

    #4C8D88

    oklch(59.9% 0.067 189.1)

  • #777CA8

    #777CA8

    oklch(59.9% 0.067 279.1)

  • #A46F78

    #A46F78

    oklch(59.9% 0.068 8.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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