#87A126

Closest named color: Avocado Green (#87A922). oklch(66.6% 0.146 121.2), rgb(135, 161, 38).

Aa

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

About this color

#87A126 is a medium-light, vivid yellow. In OKLCH its lightness is 67%, its chroma 0.146 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.023 away. Black text reads best on it, at 7.15:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromavivid (0.146)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.15:1
White text2.93:1

Values

HEX#87A126
RGBrgb(135, 161, 38)
HSLhsl(73, 62%, 39%)
OKLCHoklch(66.6% 0.146 121.2)

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 #87A126 2.93:1 Fails Lc -61.0 Content text, not long reading
Black text on #87A126 7.15:1 AAA Lc 48.4 Large or bold text, headings
#87A126 text on white 2.93:1 Fails Lc 55.7 Large or bold text, headings
#87A126 text on black 7.15:1 AAA Lc -46.1 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 500.

  1. Step 50

    50

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E7ECDD

    oklch(93.5% 0.021 121.8)

  3. Step 200

    200

    #D5DEC1

    oklch(88.6% 0.04 121.2)

  4. Step 300

    300

    #B9C895

    oklch(80.8% 0.071 121.3)

  5. Step 400

    400

    #96AB56

    oklch(70.6% 0.114 120.8)

  6. Step 500

    500 (this color)

    #87A126

    oklch(66.6% 0.146 121.2)

  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

    #222B03

    oklch(27.1% 0.061 121.6)

Export this scale for Tailwind in the Tailwind colors tool

#87A126 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)#AB97080.054
Deuteranopia (no green cones)#A897310.056
Tritanopia (no blue cones)#8F988A0.124
Achromatopsia (no color)#9797970.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #87A126

    #87A126

    oklch(66.6% 0.146 121.2)

  • #A47CDF

    #A47CDF

    oklch(66.6% 0.147 301.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87A126

    #87A126

    oklch(66.6% 0.146 121.2)

  • #B39000

    #B39000

    oklch(66.7% 0.136 91.4)

  • #40AD64

    #40AD64

    oklch(66.7% 0.146 151.1)

Open the analogous palette in the generator

Split complementary

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

  • #87A126

    #87A126

    oklch(66.6% 0.146 121.2)

  • #748DED

    #748DED

    oklch(66.7% 0.145 271)

  • #C670BD

    #C670BD

    oklch(66.7% 0.146 331)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87A126

    #87A126

    oklch(66.6% 0.146 121.2)

  • #229DE5

    #229DE5

    oklch(66.6% 0.147 241.4)

  • #DB698E

    #DB698E

    oklch(66.6% 0.147 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87A126

    #87A126

    oklch(66.6% 0.146 121.2)

  • #00A6BC

    #00A6BC

    oklch(66.5% 0.116 211.3)

  • #A47CDF

    #A47CDF

    oklch(66.6% 0.147 301.1)

  • #DF6D5A

    #DF6D5A

    oklch(66.6% 0.146 31)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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