#8EAB12

Named color: Pea Green. oklch(69.5% 0.163 121.2), rgb(142, 171, 18).

Aa

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

About this color

#8EAB12 is a medium-light, vivid yellow. In OKLCH its lightness is 69%, its chroma 0.163 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. It is the named color Pea Green. Black text reads best on it, at 7.98:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromavivid (0.163)
Temperaturein between
Nearest namePea Green
Black text7.98:1
White text2.63:1

Values

HEX#8EAB12
RGBrgb(142, 171, 18)
HSLhsl(71, 81%, 37%)
OKLCHoklch(69.5% 0.163 121.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 #8EAB12 2.63:1 Fails Lc -56.2 Large or bold text, headings
Black text on #8EAB12 7.98:1 AAA Lc 52.9 Large or bold text, headings
#8EAB12 text on white 2.63:1 Fails Lc 51.1 Large or bold text, headings
#8EAB12 text on black 7.98:1 AAA Lc -50.8 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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E6EDD8

    oklch(93.5% 0.029 122)

  3. Step 200

    200

    #D3DFB6

    oklch(88.4% 0.056 120.8)

  4. Step 300

    300

    #B6CB80

    oklch(80.9% 0.101 121.4)

  5. Step 400

    400 (this color)

    #8EAB12

    oklch(69.5% 0.163 121.2)

  6. Step 500

    500

    #7C9600

    oklch(63% 0.151 121.2)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#8EAB12 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)#B6A0000.061
Deuteranopia (no green cones)#B3A0270.062
Tritanopia (no blue cones)#97A1910.138
Achromatopsia (no color)#A0A0A00.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #8EAB12

    #8EAB12

    oklch(69.5% 0.163 121.2)

  • #AF81F1

    #AF81F1

    oklch(69.4% 0.164 301.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8EAB12

    #8EAB12

    oklch(69.5% 0.163 121.2)

  • #BD9800

    #BD9800

    oklch(69.4% 0.142 91.3)

  • #38B866

    #38B866

    oklch(69.4% 0.163 151.2)

Open the analogous palette in the generator

Split complementary

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

  • #8EAB12

    #8EAB12

    oklch(69.5% 0.163 121.2)

  • #7994FF

    #7994FF

    oklch(69.5% 0.16 271.1)

  • #D573CA

    #D573CA

    oklch(69.5% 0.163 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8EAB12

    #8EAB12

    oklch(69.5% 0.163 121.2)

  • #00A6F7

    #00A6F7

    oklch(69.4% 0.163 241.4)

  • #EB6C96

    #EB6C96

    oklch(69.5% 0.162 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8EAB12

    #8EAB12

    oklch(69.5% 0.163 121.2)

  • #00B0C7

    #00B0C7

    oklch(69.4% 0.121 211.1)

  • #AF81F1

    #AF81F1

    oklch(69.4% 0.164 301.2)

  • #F1705B

    #F1705B

    oklch(69.5% 0.163 31)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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