#87A911

Closest named color: Avocado Green (#87A922). oklch(68.5% 0.164 123.1), rgb(135, 169, 17).

Aa

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

About this color

#87A911 is a medium-light, vivid yellow. In OKLCH its lightness is 68%, its chroma 0.164 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.006 away. Black text reads best on it, at 7.71:1.

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

Values

HEX#87A911
RGBrgb(135, 169, 17)
HSLhsl(73, 82%, 36%)
OKLCHoklch(68.5% 0.164 123.1)

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 #87A911 2.72:1 Fails Lc -57.7 Large or bold text, headings
Black text on #87A911 7.71:1 AAA Lc 51.5 Large or bold text, headings
#87A911 text on white 2.72:1 Fails Lc 52.5 Large or bold text, headings
#87A911 text on black 7.71:1 AAA Lc -49.3 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

    #E6EED8

    oklch(93.7% 0.03 123.3)

  3. Step 200

    200

    #D2E0B7

    oklch(88.5% 0.057 122.9)

  4. Step 300

    300

    #B4CC81

    oklch(81% 0.102 123.1)

  5. Step 400

    400 (this color)

    #87A911

    oklch(68.5% 0.164 123.1)

  6. Step 500

    500

    #789700

    oklch(63% 0.154 123)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  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

#87A911 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)#B39E000.066
Deuteranopia (no green cones)#AF9D260.067
Tritanopia (no blue cones)#8FA0900.137
Achromatopsia (no color)#9D9D9D0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #87A911

    #87A911

    oklch(68.5% 0.164 123.1)

  • #AF7DEC

    #AF7DEC

    oklch(68.5% 0.164 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87A911

    #87A911

    oklch(68.5% 0.164 123.1)

  • #B89600

    #B89600

    oklch(68.4% 0.14 92.6)

  • #27B667

    #27B667

    oklch(68.5% 0.164 153.2)

Open the analogous palette in the generator

Split complementary

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

  • #87A911

    #87A911

    oklch(68.5% 0.164 123.1)

  • #7A8FFE

    #7A8FFE

    oklch(68.5% 0.164 273.2)

  • #D46FC5

    #D46FC5

    oklch(68.6% 0.164 333)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87A911

    #87A911

    oklch(68.5% 0.164 123.1)

  • #09A2F6

    #09A2F6

    oklch(68.4% 0.164 243.2)

  • #E96890

    #E96890

    oklch(68.5% 0.164 3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87A911

    #87A911

    oklch(68.5% 0.164 123.1)

  • #00ACC6

    #00ACC6

    oklch(68.4% 0.12 213.5)

  • #AF7DEC

    #AF7DEC

    oklch(68.5% 0.164 303.1)

  • #ED6D53

    #ED6D53

    oklch(68.4% 0.164 33.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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