#8A9E2B

Closest named color: Pea Soup (#929901). oklch(66.2% 0.138 119), rgb(138, 158, 43).

Aa

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

About this color

#8A9E2B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.138 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.018 away. Black text reads best on it, at 7.00:1.

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

Values

HEX#8A9E2B
RGBrgb(138, 158, 43)
HSLhsl(70, 57%, 39%)
OKLCHoklch(66.2% 0.138 119)

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 #8A9E2B 2.99:1 Fails Lc -61.9 Content text, not long reading
Black text on #8A9E2B 7.00:1 AAA Lc 47.5 Large or bold text, headings
#8A9E2B text on white 2.99:1 Fails Lc 56.5 Large or bold text, headings
#8A9E2B text on black 7.00:1 AAA Lc -45.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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  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)

    #8A9E2B

    oklch(66.2% 0.138 119)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  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

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #242A05

    oklch(27% 0.057 118.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A9E2B 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)#A895160.046
Deuteranopia (no green cones)#A695350.049
Tritanopia (no blue cones)#9295880.119
Achromatopsia (no color)#9595950.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9E2B

    #8A9E2B

    oklch(66.2% 0.138 119)

  • #9F7EDB

    #9F7EDB

    oklch(66.2% 0.138 299)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9E2B

    #8A9E2B

    oklch(66.2% 0.138 119)

  • #B48D00

    #B48D00

    oklch(66.2% 0.135 88.9)

  • #4CAA62

    #4CAA62

    oklch(66.3% 0.138 149)

Open the analogous palette in the generator

Split complementary

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

  • #8A9E2B

    #8A9E2B

    oklch(66.2% 0.138 119)

  • #708DE7

    #708DE7

    oklch(66.1% 0.138 268.9)

  • #C071BC

    #C071BC

    oklch(66.1% 0.139 328.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9E2B

    #8A9E2B

    oklch(66.2% 0.138 119)

  • #259DDE

    #259DDE

    oklch(66.3% 0.138 239)

  • #D56B91

    #D56B91

    oklch(66.2% 0.139 358.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9E2B

    #8A9E2B

    oklch(66.2% 0.138 119)

  • #00A5B8

    #00A5B8

    oklch(66.1% 0.114 209.2)

  • #9F7EDB

    #9F7EDB

    oklch(66.2% 0.138 299)

  • #DA6E60

    #DA6E60

    oklch(66.1% 0.138 28.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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