#87AF4F

Closest named color: Asparagus (#77AB56). oklch(70.4% 0.133 128.2), rgb(135, 175, 79).

Aa

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

About this color

#87AF4F is a medium-light, moderately saturated green. In OKLCH its lightness is 70%, its chroma 0.133 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Asparagus (#77AB56), ΔE 0.024 away. Black text reads best on it, at 8.27:1.

Hue familyGreens
Lightnessmedium-light (70%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameAsparagus (#77AB56)
Black text8.27:1
White text2.53:1

Values

HEX#87AF4F
RGBrgb(135, 175, 79)
HSLhsl(85, 38%, 50%)
OKLCHoklch(70.4% 0.133 128.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 #87AF4F 2.53:1 Fails Lc -54.7 Large or bold text, headings
Black text on #87AF4F 8.27:1 AAA Lc 54.4 Large or bold text, headings
#87AF4F text on white 2.53:1 Fails Lc 49.6 Large or bold text, headings
#87AF4F text on black 8.27:1 AAA Lc -52.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

    #F3F7EF

    oklch(97.1% 0.011 128.6)

  2. Step 100

    100

    #E5EDDC

    oklch(93.5% 0.024 127.6)

  3. Step 200

    200

    #D0DFBF

    oklch(88.4% 0.046 127.8)

  4. Step 300

    300

    #B1CB92

    oklch(80.8% 0.082 128)

  5. Step 400

    400 (this color)

    #87AF4F

    oklch(70.4% 0.133 128.2)

  6. Step 500

    500

    #6B9B00

    oklch(63.1% 0.166 128.3)

  7. Step 600

    600

    #5A8200

    oklch(55.6% 0.145 128)

  8. Step 700

    700

    #4B6D00

    oklch(49% 0.128 127.9)

  9. Step 800

    800

    #3C5A00

    oklch(42.8% 0.113 128.5)

  10. Step 900

    900

    #324B00

    oklch(37.8% 0.099 128.2)

  11. Step 950

    950

    #1C2C00

    oklch(26.9% 0.07 127.9)

Export this scale for Tailwind in the Tailwind colors tool

#87AF4F 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)#B7A4460.068
Deuteranopia (no green cones)#B1A2550.068
Tritanopia (no blue cones)#8BA89A0.105
Achromatopsia (no color)#A2A2A20.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #87AF4F

    #87AF4F

    oklch(70.4% 0.133 128.2)

  • #B788DF

    #B788DF

    oklch(70.5% 0.133 308.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87AF4F

    #87AF4F

    oklch(70.4% 0.133 128.2)

  • #B5A029

    #B5A029

    oklch(70.4% 0.133 98.7)

  • #47B880

    #47B880

    oklch(70.3% 0.132 158.4)

Open the analogous palette in the generator

Split complementary

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

  • #87AF4F

    #87AF4F

    oklch(70.4% 0.133 128.2)

  • #8D96F1

    #8D96F1

    oklch(70.4% 0.133 278.1)

  • #D47DBC

    #D47DBC

    oklch(70.3% 0.133 338)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87AF4F

    #87AF4F

    oklch(70.4% 0.133 128.2)

  • #55A5EE

    #55A5EE

    oklch(70.3% 0.133 248.3)

  • #E47A8F

    #E47A8F

    oklch(70.4% 0.132 8.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87AF4F

    #87AF4F

    oklch(70.4% 0.133 128.2)

  • #00B2D4

    #00B2D4

    oklch(70.5% 0.127 218)

  • #B788DF

    #B788DF

    oklch(70.5% 0.133 308.2)

  • #E58060

    #E58060

    oklch(70.4% 0.133 38.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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