#9FAB4F

Closest named color: Avocado (#90B134). oklch(71.2% 0.118 115.6), rgb(159, 171, 79).

Aa

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

About this color

#9FAB4F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.118 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.040 away. Black text reads best on it, at 8.41:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.41:1
White text2.49:1

Values

HEX#9FAB4F
RGBrgb(159, 171, 79)
HSLhsl(68, 37%, 49%)
OKLCHoklch(71.2% 0.118 115.6)

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 #9FAB4F 2.49:1 Fails Lc -54.0 Large or bold text, headings
Black text on #9FAB4F 8.41:1 AAA Lc 55.0 Large or bold text, headings
#9FAB4F text on white 2.49:1 Fails Lc 49.0 Large or bold text, headings
#9FAB4F text on black 8.41:1 AAA Lc -53.0 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E9ECDC

    oklch(93.6% 0.021 115.4)

  3. Step 200

    200

    #D7DDBF

    oklch(88.5% 0.041 116.4)

  4. Step 300

    300

    #BEC790

    oklch(80.9% 0.074 115.6)

  5. Step 400

    400 (this color)

    #9FAB4F

    oklch(71.2% 0.118 115.6)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#9FAB4F 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)#B6A3460.036
Deuteranopia (no green cones)#B5A5540.037
Tritanopia (no blue cones)#A8A2960.103
Achromatopsia (no color)#A4A4A40.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FAB4F

    #9FAB4F

    oklch(71.2% 0.118 115.6)

  • #A892E4

    #A892E4

    oklch(71.1% 0.119 295.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FAB4F

    #9FAB4F

    oklch(71.2% 0.118 115.6)

  • #C39C41

    #C39C41

    oklch(71.2% 0.117 85.5)

  • #70B674

    #70B674

    oklch(71.3% 0.118 145.5)

Open the analogous palette in the generator

Split complementary

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

  • #9FAB4F

    #9FAB4F

    oklch(71.2% 0.118 115.6)

  • #7FA0EC

    #7FA0EC

    oklch(71.2% 0.118 265.6)

  • #C888CA

    #C888CA

    oklch(71.3% 0.117 325.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FAB4F

    #9FAB4F

    oklch(71.2% 0.118 115.6)

  • #4DADE1

    #4DADE1

    oklch(71.2% 0.117 235.5)

  • #DC82A5

    #DC82A5

    oklch(71.3% 0.118 355.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FAB4F

    #9FAB4F

    oklch(71.2% 0.118 115.6)

  • #1BB7C6

    #1BB7C6

    oklch(71.3% 0.118 205.6)

  • #A892E4

    #A892E4

    oklch(71.1% 0.119 295.6)

  • #E2847C

    #E2847C

    oklch(71.2% 0.117 25.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9FAB4F 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.