#8A7A46

Closest named color: Drab (#828344). oklch(58.2% 0.074 92.8), rgb(138, 122, 70).

Aa

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

About this color

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

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

Values

HEX#8A7A46
RGBrgb(138, 122, 70)
HSLhsl(46, 33%, 41%)
OKLCHoklch(58.2% 0.074 92.8)

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 #8A7A46 4.23:1 AA large text Lc -74.7 Content text, not long reading
Black text on #8A7A46 4.95:1 AA Lc 34.8 Non-text elements, placeholder text
#8A7A46 text on white 4.23:1 AA large text Lc 69.2 Content text, not long reading
#8A7A46 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

    #988959

    oklch(63.2% 0.068 92.7)

  7. Step 600

    600 (this color)

    #8A7A46

    oklch(58.2% 0.074 92.8)

  8. Step 700

    700

    #6E6030

    oklch(49.1% 0.069 93.4)

  9. Step 800

    800

    #5A4E29

    oklch(42.7% 0.056 91.9)

  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

#8A7A46 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)#8478420.012
Deuteranopia (no green cones)#887D480.008
Tritanopia (no blue cones)#93736D0.066
Achromatopsia (no color)#7B7B7B0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7A46

    #8A7A46

    oklch(58.2% 0.074 92.8)

  • #6C78A7

    #6C78A7

    oklch(58.2% 0.074 272.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7A46

    #8A7A46

    oklch(58.2% 0.074 92.8)

  • #9A714C

    #9A714C

    oklch(58.1% 0.073 62.7)

  • #738250

    #738250

    oklch(58.2% 0.074 122.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A7A46

    #8A7A46

    oklch(58.2% 0.074 92.8)

  • #5380A3

    #5380A3

    oklch(58.2% 0.073 242.9)

  • #83709F

    #83709F

    oklch(58.1% 0.074 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7A46

    #8A7A46

    oklch(58.2% 0.074 92.8)

  • #408695

    #408695

    oklch(58.1% 0.074 213.6)

  • #956B8E

    #956B8E

    oklch(58.2% 0.073 332.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7A46

    #8A7A46

    oklch(58.2% 0.074 92.8)

  • #42897F

    #42897F

    oklch(58.1% 0.073 183.4)

  • #6C78A7

    #6C78A7

    oklch(58.2% 0.074 272.9)

  • #A06877

    #A06877

    oklch(58.1% 0.074 2.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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