#8E731D

Closest named color: Hazel (#8E7618). oklch(56.6% 0.105 90.3), rgb(142, 115, 29).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.62:1
White text4.54:1

Values

HEX#8E731D
RGBrgb(142, 115, 29)
HSLhsl(46, 66%, 34%)
OKLCHoklch(56.6% 0.105 90.3)

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 #8E731D 4.54:1 AA Lc -76.9 Fine for body text
Black text on #8E731D 4.62:1 AA Lc 32.7 Non-text elements, placeholder text
#8E731D text on white 4.54:1 AA Lc 71.4 Content text, not long reading
#8E731D text on black 4.62:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEAE0

    oklch(93.7% 0.014 93)

  3. Step 200

    200

    #E0D9C6

    oklch(88.6% 0.027 90.1)

  4. Step 300

    300

    #CCC09E

    oklch(80.9% 0.048 90.9)

  5. Step 400

    400

    #B39F69

    oklch(70.7% 0.076 90)

  6. Step 500

    500

    #A0873E

    oklch(63.1% 0.097 90.5)

  7. Step 600

    600 (this color)

    #8E731D

    oklch(56.6% 0.105 90.3)

  8. Step 700

    700

    #765E07

    oklch(49.2% 0.098 90.8)

  9. Step 800

    800

    #604D0D

    oklch(42.8% 0.081 90.9)

  10. Step 900

    900

    #4E4015

    oklch(37.7% 0.063 90.9)

  11. Step 950

    950

    #2E260E

    oklch(27.1% 0.04 91.2)

Export this scale for Tailwind in the Tailwind colors tool

#8E731D 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)#81720C0.025
Deuteranopia (no green cones)#8779220.019
Tritanopia (no blue cones)#9A69630.096
Achromatopsia (no color)#7676760.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E731D

    #8E731D

    oklch(56.6% 0.105 90.3)

  • #5F72B4

    #5F72B4

    oklch(56.6% 0.105 270.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E731D

    #8E731D

    oklch(56.6% 0.105 90.3)

  • #A3662F

    #A3662F

    oklch(56.7% 0.105 60)

  • #6E7F32

    #6E7F32

    oklch(56.6% 0.104 120.3)

Open the analogous palette in the generator

Split complementary

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

  • #8E731D

    #8E731D

    oklch(56.6% 0.105 90.3)

  • #327DAE

    #327DAE

    oklch(56.5% 0.105 241)

  • #8067AB

    #8067AB

    oklch(56.6% 0.106 300)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E731D

    #8E731D

    oklch(56.6% 0.105 90.3)

  • #008596

    #008596

    oklch(56.5% 0.098 210.4)

  • #995E93

    #995E93

    oklch(56.6% 0.105 330.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E731D

    #8E731D

    oklch(56.6% 0.105 90.3)

  • #008A79

    #008A79

    oklch(56.8% 0.103 180.1)

  • #5F72B4

    #5F72B4

    oklch(56.6% 0.105 270.6)

  • #A85A73

    #A85A73

    oklch(56.6% 0.106 0.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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