#8A9F2B

Closest named color: Pea Soup (#929901). oklch(66.4% 0.14 119.4), rgb(138, 159, 43).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest namePea Soup (#929901)
Black text7.07:1
White text2.96:1

Values

HEX#8A9F2B
RGBrgb(138, 159, 43)
HSLhsl(71, 57%, 40%)
OKLCHoklch(66.4% 0.14 119.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 #8A9F2B 2.96:1 Fails Lc -61.5 Content text, not long reading
Black text on #8A9F2B 7.07:1 AAA Lc 47.9 Large or bold text, headings
#8A9F2B text on white 2.96:1 Fails Lc 56.1 Large or bold text, headings
#8A9F2B text on black 7.07:1 AAA Lc -45.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 500.

  1. Step 50

    50

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D6DDC2

    oklch(88.5% 0.037 119)

  4. Step 300

    300

    #BBC796

    oklch(80.8% 0.067 119.1)

  5. Step 400

    400

    #99AA59

    oklch(70.6% 0.108 119)

  6. Step 500

    500 (this color)

    #8A9F2B

    oklch(66.4% 0.14 119.4)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A05

    oklch(26.9% 0.057 119.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A9F2B 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)#A996150.047
Deuteranopia (no green cones)#A796350.050
Tritanopia (no blue cones)#9296890.120
Achromatopsia (no color)#9696960.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9F2B

    #8A9F2B

    oklch(66.4% 0.14 119.4)

  • #A07EDC

    #A07EDC

    oklch(66.4% 0.139 299.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9F2B

    #8A9F2B

    oklch(66.4% 0.14 119.4)

  • #B48E00

    #B48E00

    oklch(66.4% 0.136 89.6)

  • #4AAB63

    #4AAB63

    oklch(66.5% 0.14 149.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A9F2B

    #8A9F2B

    oklch(66.4% 0.14 119.4)

  • #718EE9

    #718EE9

    oklch(66.5% 0.139 269)

  • #C272BD

    #C272BD

    oklch(66.5% 0.139 329.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9F2B

    #8A9F2B

    oklch(66.4% 0.14 119.4)

  • #259DDF

    #259DDF

    oklch(66.4% 0.14 239.4)

  • #D66B91

    #D66B91

    oklch(66.3% 0.14 359.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9F2B

    #8A9F2B

    oklch(66.4% 0.14 119.4)

  • #00A6BA

    #00A6BA

    oklch(66.4% 0.115 209.8)

  • #A07EDC

    #A07EDC

    oklch(66.4% 0.139 299.3)

  • #DC6F60

    #DC6F60

    oklch(66.5% 0.139 29.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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