#87AA22

Closest named color: Avocado Green (#87A922). oklch(68.8% 0.159 123.8), rgb(135, 170, 34).

Aa

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

About this color

#87AA22 is a medium-light, vivid yellow. In OKLCH its lightness is 69%, its chroma 0.159 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.003 away. Black text reads best on it, at 7.80:1.

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

Values

HEX#87AA22
RGBrgb(135, 170, 34)
HSLhsl(75, 67%, 40%)
OKLCHoklch(68.8% 0.159 123.8)

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 #87AA22 2.69:1 Fails Lc -57.3 Large or bold text, headings
Black text on #87AA22 7.80:1 AAA Lc 52.0 Large or bold text, headings
#87AA22 text on white 2.69:1 Fails Lc 52.1 Large or bold text, headings
#87AA22 text on black 7.80:1 AAA Lc -49.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

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E6EDD9

    oklch(93.5% 0.028 122.7)

  3. Step 200

    200

    #D1E0B8

    oklch(88.5% 0.056 124.3)

  4. Step 300

    300

    #B3CC83

    oklch(80.9% 0.1 124)

  5. Step 400

    400 (this color)

    #87AA22

    oklch(68.8% 0.159 123.8)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#87AA22 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)#B49F000.066
Deuteranopia (no green cones)#AF9D300.068
Tritanopia (no blue cones)#8EA1910.131
Achromatopsia (no color)#9E9E9E0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #87AA22

    #87AA22

    oklch(68.8% 0.159 123.8)

  • #B07FEA

    #B07FEA

    oklch(68.8% 0.159 303.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87AA22

    #87AA22

    oklch(68.8% 0.159 123.8)

  • #B89800

    #B89800

    oklch(68.9% 0.141 93.8)

  • #2EB66B

    #2EB66B

    oklch(68.7% 0.159 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #87AA22

    #87AA22

    oklch(68.8% 0.159 123.8)

  • #7D90FC

    #7D90FC

    oklch(68.7% 0.16 273.9)

  • #D471C3

    #D471C3

    oklch(68.8% 0.159 333.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87AA22

    #87AA22

    oklch(68.8% 0.159 123.8)

  • #22A3F5

    #22A3F5

    oklch(68.9% 0.159 243.7)

  • #E86B90

    #E86B90

    oklch(68.8% 0.159 3.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87AA22

    #87AA22

    oklch(68.8% 0.159 123.8)

  • #00ADC8

    #00ADC8

    oklch(68.7% 0.121 214)

  • #B07FEA

    #B07FEA

    oklch(68.8% 0.159 303.6)

  • #EC7055

    #EC7055

    oklch(68.7% 0.159 33.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87AA22 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.