#8EB42F

Closest named color: Avocado (#90B134). oklch(71.7% 0.161 124.5), rgb(142, 180, 47).

Aa

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

About this color

#8EB42F is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.161 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.010 away. Black text reads best on it, at 8.71:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromavivid (0.161)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.71:1
White text2.40:1

Values

HEX#8EB42F
RGBrgb(142, 180, 47)
HSLhsl(77, 59%, 45%)
OKLCHoklch(71.7% 0.161 124.5)

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 #8EB42F 2.40:1 Fails Lc -52.3 Large or bold text, headings
Black text on #8EB42F 8.71:1 AAA Lc 56.7 Large or bold text, headings
#8EB42F text on white 2.40:1 Fails Lc 47.3 Large or bold text, headings
#8EB42F text on black 8.71:1 AAA Lc -54.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E5EED9

    oklch(93.7% 0.029 126)

  3. Step 200

    200

    #D1E0B8

    oklch(88.5% 0.056 124.3)

  4. Step 300

    300

    #B2CC83

    oklch(80.8% 0.101 124.6)

  5. Step 400

    400 (this color)

    #8EB42F

    oklch(71.7% 0.161 124.5)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#8EB42F 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)#BEA8140.069
Deuteranopia (no green cones)#B9A73B0.070
Tritanopia (no blue cones)#95AB9B0.133
Achromatopsia (no color)#A7A7A70.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #8EB42F

    #8EB42F

    oklch(71.7% 0.161 124.5)

  • #BB87F4

    #BB87F4

    oklch(71.7% 0.161 304.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8EB42F

    #8EB42F

    oklch(71.7% 0.161 124.5)

  • #C1A100

    #C1A100

    oklch(71.7% 0.147 94.6)

  • #35C075

    #35C075

    oklch(71.7% 0.16 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #8EB42F

    #8EB42F

    oklch(71.7% 0.161 124.5)

  • #899BFF

    #899BFF

    oklch(71.8% 0.147 274.4)

  • #DF79CC

    #DF79CC

    oklch(71.7% 0.161 334.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8EB42F

    #8EB42F

    oklch(71.7% 0.161 124.5)

  • #35ACFF

    #35ACFF

    oklch(71.8% 0.158 244.4)

  • #F47397

    #F47397

    oklch(71.7% 0.162 4.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8EB42F

    #8EB42F

    oklch(71.7% 0.161 124.5)

  • #00B7D4

    #00B7D4

    oklch(71.7% 0.126 214.4)

  • #BB87F4

    #BB87F4

    oklch(71.7% 0.161 304.7)

  • #F7795C

    #F7795C

    oklch(71.7% 0.161 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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