#8A7A45

Closest named color: Drab (#828344). oklch(58.2% 0.075 93.1), rgb(138, 122, 69).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.075)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.95:1
White text4.24:1

Values

HEX#8A7A45
RGBrgb(138, 122, 69)
HSLhsl(46, 33%, 41%)
OKLCHoklch(58.2% 0.075 93.1)

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 #8A7A45 4.24:1 AA large text Lc -74.8 Content text, not long reading
Black text on #8A7A45 4.95:1 AA Lc 34.8 Non-text elements, placeholder text
#8A7A45 text on white 4.24:1 AA large text Lc 69.3 Content text, not long reading
#8A7A45 text on black 4.95:1 AA Lc -32.4 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 600.

  1. Step 50

    50

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DDD9CC

    oklch(88.5% 0.018 92.7)

  4. Step 300

    300

    #C8C1A9

    oklch(81% 0.034 93.6)

  5. Step 400

    400

    #ACA07B

    oklch(70.7% 0.053 92.2)

  6. Step 500

    500

    #988958

    oklch(63.2% 0.069 93)

  7. Step 600

    600 (this color)

    #8A7A45

    oklch(58.2% 0.075 93.1)

  8. Step 700

    700

    #6E602F

    oklch(49.1% 0.07 93.7)

  9. Step 800

    800

    #5A4E28

    oklch(42.7% 0.057 92.3)

  10. Step 900

    900

    #4A4125

    oklch(37.7% 0.045 92.2)

  11. Step 950

    950

    #2B2616

    oklch(26.9% 0.028 92.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A7A45 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)#8478410.012
Deuteranopia (no green cones)#887D470.008
Tritanopia (no blue cones)#93736D0.067
Achromatopsia (no color)#7B7B7B0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7A45

    #8A7A45

    oklch(58.2% 0.075 93.1)

  • #6C78A8

    #6C78A8

    oklch(58.2% 0.075 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7A45

    #8A7A45

    oklch(58.2% 0.075 93.1)

  • #9B714B

    #9B714B

    oklch(58.2% 0.075 62.6)

  • #728250

    #728250

    oklch(58.1% 0.074 123.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A7A45

    #8A7A45

    oklch(58.2% 0.075 93.1)

  • #5280A4

    #5280A4

    oklch(58.1% 0.075 243.2)

  • #8470A0

    #8470A0

    oklch(58.2% 0.075 303.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7A45

    #8A7A45

    oklch(58.2% 0.075 93.1)

  • #3F8795

    #3F8795

    oklch(58.3% 0.075 212.1)

  • #966A8E

    #966A8E

    oklch(58.2% 0.075 333.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7A45

    #8A7A45

    oklch(58.2% 0.075 93.1)

  • #41897F

    #41897F

    oklch(58.1% 0.074 183.5)

  • #6C78A8

    #6C78A8

    oklch(58.2% 0.075 273.1)

  • #A16876

    #A16876

    oklch(58.2% 0.075 3.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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