#8A862E

Closest named color: Drab (#828344). oklch(60.6% 0.109 106.7), rgb(138, 134, 46).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.53:1
White text3.79:1

Values

HEX#8A862E
RGBrgb(138, 134, 46)
HSLhsl(57, 50%, 36%)
OKLCHoklch(60.6% 0.109 106.7)

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 #8A862E 3.79:1 AA large text Lc -70.9 Content text, not long reading
Black text on #8A862E 5.53:1 AA Lc 38.7 Non-text elements, placeholder text
#8A862E text on white 3.79:1 AA large text Lc 65.4 Content text, not long reading
#8A862E text on black 5.53:1 AA Lc -36.2 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C4C39C

    oklch(80.8% 0.053 106.3)

  5. Step 400

    400

    #A7A464

    oklch(70.6% 0.085 106.1)

  6. Step 500

    500 (this color)

    #8A862E

    oklch(60.6% 0.109 106.7)

  7. Step 600

    600

    #7C7703

    oklch(55.6% 0.118 106.7)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555201

    oklch(42.8% 0.091 107.2)

  10. Step 900

    900

    #46440F

    oklch(37.7% 0.071 107.2)

  11. Step 950

    950

    #29280B

    oklch(27.1% 0.045 107.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A862E 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)#9181220.016
Deuteranopia (no green cones)#9385330.016
Tritanopia (no blue cones)#947D740.099
Achromatopsia (no color)#8383830.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A862E

    #8A862E

    oklch(60.6% 0.109 106.7)

  • #7E77C0

    #7E77C0

    oklch(60.6% 0.109 287.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A862E

    #8A862E

    oklch(60.6% 0.109 106.7)

  • #A6782A

    #A6782A

    oklch(60.5% 0.109 76.8)

  • #62914E

    #62914E

    oklch(60.6% 0.109 137)

Open the analogous palette in the generator

Split complementary

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

  • #8A862E

    #8A862E

    oklch(60.6% 0.109 106.7)

  • #5683C2

    #5683C2

    oklch(60.5% 0.109 257)

  • #9C6DAD

    #9C6DAD

    oklch(60.7% 0.108 316.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A862E

    #8A862E

    oklch(60.6% 0.109 106.7)

  • #1F8EB4

    #1F8EB4

    oklch(60.5% 0.109 227)

  • #B1668F

    #B1668F

    oklch(60.7% 0.109 346.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A862E

    #8A862E

    oklch(60.6% 0.109 106.7)

  • #009597

    #009597

    oklch(60.7% 0.103 196.5)

  • #7E77C0

    #7E77C0

    oklch(60.6% 0.109 287.1)

  • #BA656B

    #BA656B

    oklch(60.6% 0.109 16.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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