#8E8D42

Closest named color: Camo (#7F8F4E). oklch(62.8% 0.098 108.2), rgb(142, 141, 66).

Aa

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

About this color

#8E8D42 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.098 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.022 away. Black text reads best on it, at 6.03:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameCamo (#7F8F4E)
Black text6.03:1
White text3.47:1

Values

HEX#8E8D42
RGBrgb(142, 141, 66)
HSLhsl(59, 37%, 41%)
OKLCHoklch(62.8% 0.098 108.2)

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 #8E8D42 3.47:1 AA large text Lc -67.8 Content text, not long reading
Black text on #8E8D42 6.03:1 AA Lc 41.8 Non-text elements, placeholder text
#8E8D42 text on white 3.47:1 AA large text Lc 62.3 Content text, not long reading
#8E8D42 text on black 6.03:1 AA Lc -39.4 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC7

    oklch(88.5% 0.027 109.3)

  4. Step 300

    300

    #C3C3A0

    oklch(80.8% 0.047 107.4)

  5. Step 400

    400

    #A5A56C

    oklch(70.8% 0.077 108.2)

  6. Step 500

    500 (this color)

    #8E8D42

    oklch(62.8% 0.098 108.2)

  7. Step 600

    600

    #797820

    oklch(55.7% 0.107 108.8)

  8. Step 700

    700

    #666412

    oklch(49% 0.098 108.1)

  9. Step 800

    800

    #535213

    oklch(42.7% 0.082 108.5)

  10. Step 900

    900

    #454418

    oklch(37.7% 0.063 107.9)

  11. Step 950

    950

    #28280F

    oklch(27% 0.041 108.8)

Export this scale for Tailwind in the Tailwind colors tool

#8E8D42 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)#97883B0.017
Deuteranopia (no green cones)#988B460.018
Tritanopia (no blue cones)#97857C0.088
Achromatopsia (no color)#8989890.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E8D42

    #8E8D42

    oklch(62.8% 0.098 108.2)

  • #867FC0

    #867FC0

    oklch(62.9% 0.097 288.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E8D42

    #8E8D42

    oklch(62.8% 0.098 108.2)

  • #A9813E

    #A9813E

    oklch(62.9% 0.098 78.2)

  • #6A975C

    #6A975C

    oklch(62.9% 0.098 138.5)

Open the analogous palette in the generator

Split complementary

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

  • #8E8D42

    #8E8D42

    oklch(62.8% 0.098 108.2)

  • #638AC3

    #638AC3

    oklch(62.8% 0.097 257.8)

  • #A175AF

    #A175AF

    oklch(62.7% 0.098 317.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E8D42

    #8E8D42

    oklch(62.8% 0.098 108.2)

  • #3D94B7

    #3D94B7

    oklch(62.9% 0.097 228)

  • #B46F93

    #B46F93

    oklch(62.7% 0.099 347.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E8D42

    #8E8D42

    oklch(62.8% 0.098 108.2)

  • #269A9E

    #269A9E

    oklch(62.7% 0.098 198.5)

  • #867FC0

    #867FC0

    oklch(62.9% 0.097 288.2)

  • #BC6F72

    #BC6F72

    oklch(62.7% 0.098 17.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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