#8E7E2E

Closest named color: Hazel (#8E7618). oklch(59.2% 0.101 97.9), rgb(142, 126, 46).

Aa

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

About this color

#8E7E2E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.101 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.023 away. Black text reads best on it, at 5.17:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.17:1
White text4.05:1

Values

HEX#8E7E2E
RGBrgb(142, 126, 46)
HSLhsl(50, 51%, 37%)
OKLCHoklch(59.2% 0.101 97.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 #8E7E2E 4.05:1 AA large text Lc -73.2 Content text, not long reading
Black text on #8E7E2E 5.17:1 AA Lc 36.4 Non-text elements, placeholder text
#8E7E2E text on white 4.05:1 AA large text Lc 67.7 Content text, not long reading
#8E7E2E text on black 5.17:1 AA Lc -33.9 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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C8C1A0

    oklch(80.8% 0.045 97.4)

  5. Step 400

    400

    #ACA16C

    oklch(70.6% 0.072 97.9)

  6. Step 500

    500

    #988A43

    oklch(63.1% 0.093 98.4)

  7. Step 600

    600 (this color)

    #8E7E2E

    oklch(59.2% 0.101 97.9)

  8. Step 700

    700

    #6F6113

    oklch(49.2% 0.094 98.3)

  9. Step 800

    800

    #5A4F14

    oklch(42.7% 0.078 98.3)

  10. Step 900

    900

    #4A4218

    oklch(37.8% 0.061 98.6)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#8E7E2E 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)#8A7B240.013
Deuteranopia (no green cones)#8F80320.006
Tritanopia (no blue cones)#99756D0.092
Achromatopsia (no color)#7E7E7E0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E7E2E

    #8E7E2E

    oklch(59.2% 0.101 97.9)

  • #7077B9

    #7077B9

    oklch(59.1% 0.101 278.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E7E2E

    #8E7E2E

    oklch(59.2% 0.101 97.9)

  • #A57135

    #A57135

    oklch(59.1% 0.101 67.4)

  • #6C8945

    #6C8945

    oklch(59.1% 0.101 128.1)

Open the analogous palette in the generator

Split complementary

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

  • #8E7E2E

    #8E7E2E

    oklch(59.2% 0.101 97.9)

  • #4982B7

    #4982B7

    oklch(59.1% 0.101 248.3)

  • #8E6DAC

    #8E6DAC

    oklch(59.2% 0.1 307.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E7E2E

    #8E7E2E

    oklch(59.2% 0.101 97.9)

  • #198CA6

    #198CA6

    oklch(59.3% 0.101 218.1)

  • #A46593

    #A46593

    oklch(59.1% 0.101 337.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E7E2E

    #8E7E2E

    oklch(59.2% 0.101 97.9)

  • #0C9189

    #0C9189

    oklch(59.3% 0.101 187.9)

  • #7077B9

    #7077B9

    oklch(59.1% 0.101 278.2)

  • #B06372

    #B06372

    oklch(59.1% 0.1 8.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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