#8E9540

Closest named color: Camo (#7F8F4E). oklch(64.6% 0.109 113.4), rgb(142, 149, 64).

Aa

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

About this color

#8E9540 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.109 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.033 away. Black text reads best on it, at 6.52:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text6.52:1
White text3.21:1

Values

HEX#8E9540
RGBrgb(142, 149, 64)
HSLhsl(65, 40%, 42%)
OKLCHoklch(64.6% 0.109 113.4)

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 #8E9540 3.21:1 AA large text Lc -64.8 Content text, not long reading
Black text on #8E9540 6.52:1 AA Lc 44.7 Non-text elements, placeholder text
#8E9540 text on white 3.21:1 AA large text Lc 59.4 Large or bold text, headings
#8E9540 text on black 6.52:1 AA Lc -42.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D9DCC6

    oklch(88.6% 0.03 113.3)

  4. Step 300

    300

    #C0C59E

    oklch(80.9% 0.053 113.5)

  5. Step 400

    400

    #A0A767

    oklch(70.8% 0.086 113.7)

  6. Step 500

    500 (this color)

    #8E9540

    oklch(64.6% 0.109 113.4)

  7. Step 600

    600

    #747A11

    oklch(55.6% 0.119 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5408

    oklch(42.7% 0.092 113.7)

  10. Step 900

    900

    #424512

    oklch(37.6% 0.071 112.6)

  11. Step 950

    950

    #26290D

    oklch(27% 0.045 114.6)

Export this scale for Tailwind in the Tailwind colors tool

#8E9540 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)#9F8E370.029
Deuteranopia (no green cones)#9F90450.030
Tritanopia (no blue cones)#978D820.096
Achromatopsia (no color)#8F8F8F0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E9540

    #8E9540

    oklch(64.6% 0.109 113.4)

  • #9181CA

    #9181CA

    oklch(64.7% 0.108 293.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E9540

    #8E9540

    oklch(64.6% 0.109 113.4)

  • #AE8735

    #AE8735

    oklch(64.5% 0.109 82.9)

  • #649F61

    #649F61

    oklch(64.6% 0.109 143.1)

Open the analogous palette in the generator

Split complementary

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

  • #8E9540

    #8E9540

    oklch(64.6% 0.109 113.4)

  • #6B8DD1

    #6B8DD1

    oklch(64.7% 0.109 263.4)

  • #AE76B4

    #AE76B4

    oklch(64.5% 0.11 323.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E9540

    #8E9540

    oklch(64.6% 0.109 113.4)

  • #3C99C6

    #3C99C6

    oklch(64.7% 0.109 233.2)

  • #C17193

    #C17193

    oklch(64.6% 0.109 353.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E9540

    #8E9540

    oklch(64.6% 0.109 113.4)

  • #05A1AC

    #05A1AC

    oklch(64.6% 0.109 203.5)

  • #9181CA

    #9181CA

    oklch(64.7% 0.108 293.2)

  • #C8726E

    #C8726E

    oklch(64.6% 0.109 23.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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