#87A239

Closest named color: Avocado Green (#87A922). oklch(67% 0.135 122.4), rgb(135, 162, 57).

Aa

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

About this color

#87A239 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.135 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.028 away. Black text reads best on it, at 7.25:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.25:1
White text2.89:1

Values

HEX#87A239
RGBrgb(135, 162, 57)
HSLhsl(75, 48%, 43%)
OKLCHoklch(67% 0.135 122.4)

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 #87A239 2.89:1 Fails Lc -60.4 Content text, not long reading
Black text on #87A239 7.25:1 AAA Lc 48.9 Large or bold text, headings
#87A239 text on white 2.89:1 Fails Lc 55.1 Large or bold text, headings
#87A239 text on black 7.25:1 AAA Lc -46.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

    #E7EDDB

    oklch(93.7% 0.025 121.9)

  3. Step 200

    200

    #D3DFBD

    oklch(88.6% 0.047 123.2)

  4. Step 300

    300

    #B7CA8D

    oklch(81% 0.084 122.3)

  5. Step 400

    400 (this color)

    #87A239

    oklch(67% 0.135 122.4)

  6. Step 500

    500

    #7A9700

    oklch(63.1% 0.154 122.2)

  7. Step 600

    600

    #667F00

    oklch(55.6% 0.135 122.3)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#87A239 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)#AB982C0.054
Deuteranopia (no green cones)#A898410.056
Tritanopia (no blue cones)#8E9A8C0.112
Achromatopsia (no color)#9898980.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #87A239

    #87A239

    oklch(67% 0.135 122.4)

  • #A57FD9

    #A57FD9

    oklch(66.9% 0.135 302.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87A239

    #87A239

    oklch(67% 0.135 122.4)

  • #B3920D

    #B3920D

    oklch(67.1% 0.135 92.3)

  • #49AD6C

    #49AD6C

    oklch(67.2% 0.135 152.5)

Open the analogous palette in the generator

Split complementary

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

  • #87A239

    #87A239

    oklch(67% 0.135 122.4)

  • #798EE8

    #798EE8

    oklch(67% 0.136 272.3)

  • #C574B9

    #C574B9

    oklch(67% 0.134 332.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87A239

    #87A239

    oklch(67% 0.135 122.4)

  • #3A9EE1

    #3A9EE1

    oklch(67.2% 0.135 242.3)

  • #D86F8E

    #D86F8E

    oklch(67.1% 0.135 2.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87A239

    #87A239

    oklch(67% 0.135 122.4)

  • #00A8BF

    #00A8BF

    oklch(67.1% 0.117 211.8)

  • #A57FD9

    #A57FD9

    oklch(66.9% 0.135 302.4)

  • #DB735F

    #DB735F

    oklch(67% 0.134 32.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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