#8A9D5F

Closest named color: Moss (#769958). oklch(66.6% 0.088 122.7), rgb(138, 157, 95).

Aa

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

About this color

#8A9D5F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.088 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss (#769958), ΔE 0.031 away. Black text reads best on it, at 7.06:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameMoss (#769958)
Black text7.06:1
White text2.97:1

Values

HEX#8A9D5F
RGBrgb(138, 157, 95)
HSLhsl(78, 25%, 49%)
OKLCHoklch(66.6% 0.088 122.7)

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 #8A9D5F 2.97:1 Fails Lc -61.6 Content text, not long reading
Black text on #8A9D5F 7.06:1 AAA Lc 47.8 Large or bold text, headings
#8A9D5F text on white 2.97:1 Fails Lc 56.3 Large or bold text, headings
#8A9D5F text on black 7.06:1 AAA Lc -45.5 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BBC6A7

    oklch(81% 0.044 123.3)

  5. Step 400

    400

    #99A878

    oklch(70.7% 0.069 122.3)

  6. Step 500

    500 (this color)

    #8A9D5F

    oklch(66.6% 0.088 122.7)

  7. Step 600

    600

    #697C39

    oklch(55.5% 0.095 122.6)

  8. Step 700

    700

    #58692B

    oklch(49.2% 0.089 122.5)

  9. Step 800

    800

    #485525

    oklch(42.6% 0.073 122.1)

  10. Step 900

    900

    #3C4723

    oklch(37.8% 0.058 123.1)

  11. Step 950

    950

    #232915

    oklch(26.9% 0.036 122.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A9D5F 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)#A4965A0.039
Deuteranopia (no green cones)#A196620.038
Tritanopia (no blue cones)#8F978E0.073
Achromatopsia (no color)#9696960.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9D5F

    #8A9D5F

    oklch(66.6% 0.088 122.7)

  • #9E87C1

    #9E87C1

    oklch(66.6% 0.088 302.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9D5F

    #8A9D5F

    oklch(66.6% 0.088 122.7)

  • #A79352

    #A79352

    oklch(66.7% 0.088 92.8)

  • #69A47A

    #69A47A

    oklch(66.6% 0.088 152.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A9D5F

    #8A9D5F

    oklch(66.6% 0.088 122.7)

  • #8291CB

    #8291CB

    oklch(66.7% 0.088 272.7)

  • #B580AC

    #B580AC

    oklch(66.7% 0.088 332.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9D5F

    #8A9D5F

    oklch(66.6% 0.088 122.7)

  • #629AC6

    #629AC6

    oklch(66.5% 0.088 243.3)

  • #C27D8F

    #C27D8F

    oklch(66.6% 0.088 2.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9D5F

    #8A9D5F

    oklch(66.6% 0.088 122.7)

  • #49A2B4

    #49A2B4

    oklch(66.5% 0.088 212.9)

  • #9E87C1

    #9E87C1

    oklch(66.6% 0.088 302.3)

  • #C48071

    #C48071

    oklch(66.6% 0.088 33)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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