#8AA21A

Closest named color: Pea Soup Green (#94A617). oklch(67% 0.152 120), rgb(138, 162, 26).

Aa

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

About this color

#8AA21A is a medium-light, vivid yellow. In OKLCH its lightness is 67%, its chroma 0.152 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup Green (#94A617), ΔE 0.019 away. Black text reads best on it, at 7.26:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromavivid (0.152)
Temperaturein between
Nearest namePea Soup Green (#94A617)
Black text7.26:1
White text2.89:1

Values

HEX#8AA21A
RGBrgb(138, 162, 26)
HSLhsl(71, 72%, 37%)
OKLCHoklch(67% 0.152 120)

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 #8AA21A 2.89:1 Fails Lc -60.3 Content text, not long reading
Black text on #8AA21A 7.26:1 AAA Lc 49.0 Large or bold text, headings
#8AA21A text on white 2.89:1 Fails Lc 55.0 Large or bold text, headings
#8AA21A text on black 7.26:1 AAA Lc -46.8 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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E7EDD9

    oklch(93.6% 0.027 120.5)

  3. Step 200

    200

    #D4DFB8

    oklch(88.5% 0.053 120.3)

  4. Step 300

    300

    #B8CA84

    oklch(80.9% 0.095 120.3)

  5. Step 400

    400 (this color)

    #8AA21A

    oklch(67% 0.152 120)

  6. Step 500

    500

    #7E9600

    oklch(63.2% 0.151 120.4)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596A00

    oklch(49.3% 0.117 120.1)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#8AA21A 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)#AD98000.054
Deuteranopia (no green cones)#AA98290.055
Tritanopia (no blue cones)#92998A0.129
Achromatopsia (no color)#9898980.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #8AA21A

    #8AA21A

    oklch(67% 0.152 120)

  • #A47DE4

    #A47DE4

    oklch(67% 0.152 299.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8AA21A

    #8AA21A

    oklch(67% 0.152 120)

  • #B69000

    #B69000

    oklch(67% 0.137 89.8)

  • #40AF61

    #40AF61

    oklch(67.2% 0.152 150)

Open the analogous palette in the generator

Split complementary

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

  • #8AA21A

    #8AA21A

    oklch(67% 0.152 120)

  • #728EF2

    #728EF2

    oklch(67.1% 0.151 270.1)

  • #C870C1

    #C870C1

    oklch(67.1% 0.151 330)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8AA21A

    #8AA21A

    oklch(67% 0.152 120)

  • #0A9FE8

    #0A9FE8

    oklch(67% 0.152 240)

  • #DE6991

    #DE6991

    oklch(67.1% 0.151 0.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8AA21A

    #8AA21A

    oklch(67% 0.152 120)

  • #00A8BD

    #00A8BD

    oklch(67.1% 0.116 210.4)

  • #A47DE4

    #A47DE4

    oklch(67% 0.152 299.8)

  • #E36C5B

    #E36C5B

    oklch(67% 0.152 29.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8AA21A 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.