#8CA80F

Closest named color: Avocado Green (#87A922). oklch(68.6% 0.161 121), rgb(140, 168, 15).

Aa

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

About this color

#8CA80F is a medium-light, vivid yellow. In OKLCH its lightness is 69%, its chroma 0.161 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.008 away. Black text reads best on it, at 7.72:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromavivid (0.161)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.72:1
White text2.71:1

Values

HEX#8CA80F
RGBrgb(140, 168, 15)
HSLhsl(71, 84%, 36%)
OKLCHoklch(68.6% 0.161 121)

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 #8CA80F 2.71:1 Fails Lc -57.7 Large or bold text, headings
Black text on #8CA80F 7.72:1 AAA Lc 51.5 Large or bold text, headings
#8CA80F text on white 2.71:1 Fails Lc 52.5 Large or bold text, headings
#8CA80F text on black 7.72:1 AAA Lc -49.4 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

    #E7EDD8

    oklch(93.6% 0.029 119.9)

  3. Step 200

    200

    #D3DFB6

    oklch(88.4% 0.056 120.8)

  4. Step 300

    300

    #B7CB80

    oklch(80.9% 0.101 120.9)

  5. Step 400

    400 (this color)

    #8CA80F

    oklch(68.6% 0.161 121)

  6. Step 500

    500

    #7D9600

    oklch(63.1% 0.151 120.8)

  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

#8CA80F 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)#B39D000.061
Deuteranopia (no green cones)#B09D250.061
Tritanopia (no blue cones)#959F8F0.136
Achromatopsia (no color)#9D9D9D0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #8CA80F

    #8CA80F

    oklch(68.6% 0.161 121)

  • #AC7FED

    #AC7FED

    oklch(68.6% 0.162 301.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8CA80F

    #8CA80F

    oklch(68.6% 0.161 121)

  • #BA9500

    #BA9500

    oklch(68.4% 0.14 91)

  • #37B564

    #37B564

    oklch(68.6% 0.161 151.2)

Open the analogous palette in the generator

Split complementary

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

  • #8CA80F

    #8CA80F

    oklch(68.6% 0.161 121)

  • #7691FD

    #7691FD

    oklch(68.6% 0.162 271)

  • #D171C7

    #D171C7

    oklch(68.6% 0.161 331.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8CA80F

    #8CA80F

    oklch(68.6% 0.161 121)

  • #00A4F3

    #00A4F3

    oklch(68.7% 0.16 241)

  • #E76A94

    #E76A94

    oklch(68.6% 0.16 1.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8CA80F

    #8CA80F

    oklch(68.6% 0.161 121)

  • #00ADC4

    #00ADC4

    oklch(68.6% 0.119 211.4)

  • #AC7FED

    #AC7FED

    oklch(68.6% 0.162 301.1)

  • #ED6E59

    #ED6E59

    oklch(68.7% 0.161 31.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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