#8A9F40

Closest named color: Pea Soup (#929901). oklch(66.6% 0.123 120.3), rgb(138, 159, 64).

Aa

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

About this color

#8A9F40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.123 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.030 away. Black text reads best on it, at 7.11:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest namePea Soup (#929901)
Black text7.11:1
White text2.95:1

Values

HEX#8A9F40
RGBrgb(138, 159, 64)
HSLhsl(73, 43%, 44%)
OKLCHoklch(66.6% 0.123 120.3)

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 #8A9F40 2.95:1 Fails Lc -61.3 Content text, not long reading
Black text on #8A9F40 7.11:1 AAA Lc 48.1 Large or bold text, headings
#8A9F40 text on white 2.95:1 Fails Lc 56.0 Large or bold text, headings
#8A9F40 text on black 7.11:1 AAA Lc -45.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 500.

  1. Step 50

    50

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC4

    oklch(88.5% 0.034 119.8)

  4. Step 300

    300

    #BBC79B

    oklch(80.9% 0.061 120.2)

  5. Step 400

    400

    #98AA63

    oklch(70.7% 0.097 120.6)

  6. Step 500

    500 (this color)

    #8A9F40

    oklch(66.6% 0.123 120.3)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C480D

    oklch(37.8% 0.081 120.6)

  11. Step 950

    950

    #232A0A

    oklch(27% 0.052 120.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A9F40 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)#A896360.046
Deuteranopia (no green cones)#A696460.048
Tritanopia (no blue cones)#91978B0.105
Achromatopsia (no color)#9696960.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9F40

    #8A9F40

    oklch(66.6% 0.123 120.3)

  • #A081D4

    #A081D4

    oklch(66.5% 0.124 300.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9F40

    #8A9F40

    oklch(66.6% 0.123 120.3)

  • #B19027

    #B19027

    oklch(66.6% 0.123 90.4)

  • #55A96B

    #55A96B

    oklch(66.6% 0.123 150.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A9F40

    #8A9F40

    oklch(66.6% 0.123 120.3)

  • #778FE0

    #778FE0

    oklch(66.6% 0.124 270.3)

  • #BF77B8

    #BF77B8

    oklch(66.7% 0.124 330.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9F40

    #8A9F40

    oklch(66.6% 0.123 120.3)

  • #409DD8

    #409DD8

    oklch(66.6% 0.123 240.3)

  • #D17290

    #D17290

    oklch(66.7% 0.123 0.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9F40

    #8A9F40

    oklch(66.6% 0.123 120.3)

  • #00A7BB

    #00A7BB

    oklch(66.7% 0.115 209.7)

  • #A081D4

    #A081D4

    oklch(66.5% 0.124 300.3)

  • #D57565

    #D57565

    oklch(66.6% 0.123 30.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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