#8AAB40

Closest named color: Avocado Green (#87A922). oklch(69.5% 0.139 124.5), rgb(138, 171, 64).

Aa

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

About this color

#8AAB40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 69%, its chroma 0.139 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.021 away. Black text reads best on it, at 7.97:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.97:1
White text2.63:1

Values

HEX#8AAB40
RGBrgb(138, 171, 64)
HSLhsl(79, 46%, 46%)
OKLCHoklch(69.5% 0.139 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 #8AAB40 2.63:1 Fails Lc -56.3 Large or bold text, headings
Black text on #8AAB40 7.97:1 AAA Lc 52.8 Large or bold text, headings
#8AAB40 text on white 2.63:1 Fails Lc 51.2 Large or bold text, headings
#8AAB40 text on black 7.97:1 AAA Lc -50.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

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E6EDDB

    oklch(93.6% 0.025 124.3)

  3. Step 200

    200

    #D2DFBD

    oklch(88.5% 0.048 124.4)

  4. Step 300

    300

    #B4CB8C

    oklch(80.9% 0.088 124.6)

  5. Step 400

    400 (this color)

    #8AAB40

    oklch(69.5% 0.139 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

#8AAB40 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)#B4A1330.061
Deuteranopia (no green cones)#B09F480.063
Tritanopia (no blue cones)#90A3940.113
Achromatopsia (no color)#9F9F9F0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #8AAB40

    #8AAB40

    oklch(69.5% 0.139 124.5)

  • #B085E2

    #B085E2

    oklch(69.4% 0.139 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8AAB40

    #8AAB40

    oklch(69.5% 0.139 124.5)

  • #B99A10

    #B99A10

    oklch(69.4% 0.139 94.1)

  • #47B675

    #47B675

    oklch(69.6% 0.14 154.5)

Open the analogous palette in the generator

Split complementary

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

  • #8AAB40

    #8AAB40

    oklch(69.5% 0.139 124.5)

  • #8394F2

    #8394F2

    oklch(69.4% 0.139 274.4)

  • #D079C0

    #D079C0

    oklch(69.4% 0.14 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8AAB40

    #8AAB40

    oklch(69.5% 0.139 124.5)

  • #43A4ED

    #43A4ED

    oklch(69.4% 0.14 244.8)

  • #E37592

    #E37592

    oklch(69.6% 0.139 4.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8AAB40

    #8AAB40

    oklch(69.5% 0.139 124.5)

  • #00AFCB

    #00AFCB

    oklch(69.4% 0.122 214.5)

  • #B085E2

    #B085E2

    oklch(69.4% 0.139 304.3)

  • #E57A60

    #E57A60

    oklch(69.5% 0.138 34.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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