#8E7C19

Closest named color: Hazel (#8E7618). oklch(58.6% 0.113 98.1), rgb(142, 124, 25).

Aa

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

About this color

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

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

Values

HEX#8E7C19
RGBrgb(142, 124, 25)
HSLhsl(51, 70%, 33%)
OKLCHoklch(58.6% 0.113 98.1)

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 #8E7C19 4.16:1 AA large text Lc -74.0 Content text, not long reading
Black text on #8E7C19 5.04:1 AA Lc 35.6 Non-text elements, placeholder text
#8E7C19 text on white 4.16:1 AA large text Lc 68.5 Content text, not long reading
#8E7C19 text on black 5.04:1 AA Lc -33.1 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DEDAC5

    oklch(88.6% 0.028 98.1)

  4. Step 300

    300

    #C9C29C

    oklch(81% 0.052 98.7)

  5. Step 400

    400

    #AEA165

    oklch(70.6% 0.081 97.4)

  6. Step 500

    500

    #9A8A37

    oklch(63.1% 0.105 98.4)

  7. Step 600

    600 (this color)

    #8E7C19

    oklch(58.6% 0.113 98.1)

  8. Step 700

    700

    #706000

    oklch(49% 0.101 97.8)

  9. Step 800

    800

    #5C4F02

    oklch(42.8% 0.087 98.1)

  10. Step 900

    900

    #4B4210

    oklch(37.8% 0.068 98.8)

  11. Step 950

    950

    #2C270B

    oklch(27.1% 0.044 99.2)

Export this scale for Tailwind in the Tailwind colors tool

#8E7C19 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)#8979000.015
Deuteranopia (no green cones)#8E7F210.008
Tritanopia (no blue cones)#9A726A0.104
Achromatopsia (no color)#7C7C7C0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E7C19

    #8E7C19

    oklch(58.6% 0.113 98.1)

  • #6D74BE

    #6D74BE

    oklch(58.6% 0.113 278.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E7C19

    #8E7C19

    oklch(58.6% 0.113 98.1)

  • #A86E24

    #A86E24

    oklch(58.7% 0.113 68.1)

  • #68883A

    #68883A

    oklch(58.5% 0.112 128.1)

Open the analogous palette in the generator

Split complementary

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

  • #8E7C19

    #8E7C19

    oklch(58.6% 0.113 98.1)

  • #3F81BC

    #3F81BC

    oklch(58.7% 0.113 248)

  • #8F68AF

    #8F68AF

    oklch(58.5% 0.113 308.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E7C19

    #8E7C19

    oklch(58.6% 0.113 98.1)

  • #008AA5

    #008AA5

    oklch(58.5% 0.105 218.1)

  • #A76093

    #A76093

    oklch(58.6% 0.113 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E7C19

    #8E7C19

    oklch(58.6% 0.113 98.1)

  • #008F87

    #008F87

    oklch(58.6% 0.102 187.9)

  • #6D74BE

    #6D74BE

    oklch(58.6% 0.113 278.2)

  • #B45D6F

    #B45D6F

    oklch(58.6% 0.114 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 #8E7C19, closest first.

Similar named colors

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

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