#8E731B

Closest named color: Hazel (#8E7618). oklch(56.6% 0.106 90.6), rgb(142, 115, 27).

Aa

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

About this color

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

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

Values

HEX#8E731B
RGBrgb(142, 115, 27)
HSLhsl(46, 68%, 33%)
OKLCHoklch(56.6% 0.106 90.6)

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 #8E731B 4.54:1 AA Lc -76.9 Fine for body text
Black text on #8E731B 4.61:1 AA Lc 32.6 Non-text elements, placeholder text
#8E731B text on white 4.54:1 AA Lc 71.4 Content text, not long reading
#8E731B text on black 4.61: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

    #B39F68

    oklch(70.7% 0.077 90.3)

  6. Step 500

    500

    #A0873D

    oklch(63.1% 0.098 90.7)

  7. Step 600

    600 (this color)

    #8E731B

    oklch(56.6% 0.106 90.6)

  8. Step 700

    700

    #765E05

    oklch(49.2% 0.099 91)

  9. Step 800

    800

    #604D0C

    oklch(42.8% 0.082 91.1)

  10. Step 900

    900

    #4E4014

    oklch(37.7% 0.064 91.2)

  11. Step 950

    950

    #2E260D

    oklch(27.1% 0.041 91.7)

Export this scale for Tailwind in the Tailwind colors tool

#8E731B 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)#8172070.025
Deuteranopia (no green cones)#8879200.018
Tritanopia (no blue cones)#9A69620.095
Achromatopsia (no color)#7676760.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E731B

    #8E731B

    oklch(56.6% 0.106 90.6)

  • #5F72B5

    #5F72B5

    oklch(56.7% 0.106 270.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E731B

    #8E731B

    oklch(56.6% 0.106 90.6)

  • #A3662D

    #A3662D

    oklch(56.6% 0.106 60.7)

  • #6E7F31

    #6E7F31

    oklch(56.6% 0.105 120.2)

Open the analogous palette in the generator

Split complementary

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

  • #8E731B

    #8E731B

    oklch(56.6% 0.106 90.6)

  • #317DAE

    #317DAE

    oklch(56.5% 0.106 240.8)

  • #8167AB

    #8167AB

    oklch(56.7% 0.106 300.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E731B

    #8E731B

    oklch(56.6% 0.106 90.6)

  • #008597

    #008597

    oklch(56.6% 0.098 211.3)

  • #995E93

    #995E93

    oklch(56.6% 0.105 330.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E731B

    #8E731B

    oklch(56.6% 0.106 90.6)

  • #008979

    #008979

    oklch(56.5% 0.102 180.8)

  • #5F72B5

    #5F72B5

    oklch(56.7% 0.106 270.7)

  • #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 #8E731B, closest first.

Similar named colors

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

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