#8CB240

Closest named color: Avocado (#90B134). oklch(71.3% 0.148 125.7), rgb(140, 178, 64).

Aa

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

About this color

#8CB240 is a medium-light, vivid green. In OKLCH its lightness is 71%, its chroma 0.148 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.009 away. Black text reads best on it, at 8.55:1.

Hue familyGreens
Lightnessmedium-light (71%)
Chromavivid (0.148)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.55:1
White text2.45:1

Values

HEX#8CB240
RGBrgb(140, 178, 64)
HSLhsl(80, 47%, 47%)
OKLCHoklch(71.3% 0.148 125.7)

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 #8CB240 2.45:1 Fails Lc -53.2 Large or bold text, headings
Black text on #8CB240 8.55:1 AAA Lc 55.9 Large or bold text, headings
#8CB240 text on white 2.45:1 Fails Lc 48.1 Large or bold text, headings
#8CB240 text on black 8.55:1 AAA Lc -53.9 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

    #F3F7EE

    oklch(97.1% 0.013 126.4)

  2. Step 100

    100

    #E5EDDA

    oklch(93.5% 0.027 125.6)

  3. Step 200

    200

    #D1E0BB

    oklch(88.6% 0.052 125.4)

  4. Step 300

    300

    #B2CC8A

    oklch(81% 0.093 125.9)

  5. Step 400

    400 (this color)

    #8CB240

    oklch(71.3% 0.148 125.7)

  6. Step 500

    500

    #729900

    oklch(63.1% 0.16 125.6)

  7. Step 600

    600

    #5F8100

    oklch(55.7% 0.141 125.9)

  8. Step 700

    700

    #506C00

    oklch(49.1% 0.124 125.4)

  9. Step 800

    800

    #415900

    oklch(42.8% 0.109 125.6)

  10. Step 900

    900

    #354A00

    oklch(37.7% 0.096 125.9)

  11. Step 950

    950

    #1E2C00

    oklch(27% 0.069 126.1)

Export this scale for Tailwind in the Tailwind colors tool

#8CB240 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)#BBA7320.067
Deuteranopia (no green cones)#B6A5480.069
Tritanopia (no blue cones)#92AA9A0.119
Achromatopsia (no color)#A5A5A50.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #8CB240

    #8CB240

    oklch(71.3% 0.148 125.7)

  • #B988EB

    #B988EB

    oklch(71.3% 0.148 305.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8CB240

    #8CB240

    oklch(71.3% 0.148 125.7)

  • #BEA000

    #BEA000

    oklch(71.1% 0.146 95.5)

  • #41BD7A

    #41BD7A

    oklch(71.3% 0.147 155.7)

Open the analogous palette in the generator

Split complementary

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

  • #8CB240

    #8CB240

    oklch(71.3% 0.148 125.7)

  • #8A98FD

    #8A98FD

    oklch(71.2% 0.148 276)

  • #DA7CC6

    #DA7CC6

    oklch(71.3% 0.148 335.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8CB240

    #8CB240

    oklch(71.3% 0.148 125.7)

  • #45AAF8

    #45AAF8

    oklch(71.4% 0.147 245.5)

  • #ED7795

    #ED7795

    oklch(71.3% 0.148 5.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8CB240

    #8CB240

    oklch(71.3% 0.148 125.7)

  • #00B5D4

    #00B5D4

    oklch(71.2% 0.126 215.8)

  • #B988EB

    #B988EB

    oklch(71.3% 0.148 305.8)

  • #EF7D5F

    #EF7D5F

    oklch(71.2% 0.147 35.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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