#87A22E

Closest named color: Avocado Green (#87A922). oklch(66.9% 0.143 121.8), rgb(135, 162, 46).

Aa

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

About this color

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

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

Values

HEX#87A22E
RGBrgb(135, 162, 46)
HSLhsl(74, 56%, 41%)
OKLCHoklch(66.9% 0.143 121.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 #87A22E 2.90:1 Fails Lc -60.5 Content text, not long reading
Black text on #87A22E 7.23:1 AAA Lc 48.8 Large or bold text, headings
#87A22E text on white 2.90:1 Fails Lc 55.2 Large or bold text, headings
#87A22E text on black 7.23:1 AAA Lc -46.6 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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E7EDDA

    oklch(93.6% 0.026 121.2)

  3. Step 200

    200

    #D3DFBB

    oklch(88.5% 0.05 122.4)

  4. Step 300

    300

    #B7CA89

    oklch(80.9% 0.089 121.7)

  5. Step 400

    400 (this color)

    #87A22E

    oklch(66.9% 0.143 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677F00

    oklch(55.7% 0.135 121.9)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#87A22E 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)#AC981A0.055
Deuteranopia (no green cones)#A898380.056
Tritanopia (no blue cones)#8E9A8B0.118
Achromatopsia (no color)#9898980.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #87A22E

    #87A22E

    oklch(66.9% 0.143 121.8)

  • #A57EDD

    #A57EDD

    oklch(66.9% 0.141 301.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87A22E

    #87A22E

    oklch(66.9% 0.143 121.8)

  • #B39100

    #B39100

    oklch(66.9% 0.137 92.1)

  • #43AD67

    #43AD67

    oklch(66.9% 0.142 151.7)

Open the analogous palette in the generator

Split complementary

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

  • #87A22E

    #87A22E

    oklch(66.9% 0.143 121.8)

  • #778DEC

    #778DEC

    oklch(66.9% 0.143 272.2)

  • #C772BC

    #C772BC

    oklch(67.1% 0.142 331.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87A22E

    #87A22E

    oklch(66.9% 0.143 121.8)

  • #2D9EE4

    #2D9EE4

    oklch(67% 0.142 241.6)

  • #DA6C8E

    #DA6C8E

    oklch(66.9% 0.142 2.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87A22E

    #87A22E

    oklch(66.9% 0.143 121.8)

  • #00A7BE

    #00A7BE

    oklch(66.8% 0.116 211.9)

  • #A57EDD

    #A57EDD

    oklch(66.9% 0.141 301.6)

  • #DF705C

    #DF705C

    oklch(67% 0.143 31.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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