#9FAC4F

Closest named color: Avocado (#90B134). oklch(71.4% 0.119 116.1), rgb(159, 172, 79).

Aa

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

About this color

#9FAC4F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.119 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.038 away. Black text reads best on it, at 8.48:1.

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

Values

HEX#9FAC4F
RGBrgb(159, 172, 79)
HSLhsl(68, 37%, 49%)
OKLCHoklch(71.4% 0.119 116.1)

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 #9FAC4F 2.47:1 Fails Lc -53.6 Large or bold text, headings
Black text on #9FAC4F 8.48:1 AAA Lc 55.4 Large or bold text, headings
#9FAC4F text on white 2.47:1 Fails Lc 48.6 Large or bold text, headings
#9FAC4F text on black 8.48:1 AAA Lc -53.4 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

    #D7DDBE

    oklch(88.5% 0.042 116.2)

  4. Step 300

    300

    #BEC790

    oklch(80.9% 0.074 115.6)

  5. Step 400

    400 (this color)

    #9FAC4F

    oklch(71.4% 0.119 116.1)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.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

#9FAC4F 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)#B7A4460.037
Deuteranopia (no green cones)#B5A5540.038
Tritanopia (no blue cones)#A8A3970.104
Achromatopsia (no color)#A5A5A50.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FAC4F

    #9FAC4F

    oklch(71.4% 0.119 116.1)

  • #AA93E5

    #AA93E5

    oklch(71.5% 0.119 296.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FAC4F

    #9FAC4F

    oklch(71.4% 0.119 116.1)

  • #C49D40

    #C49D40

    oklch(71.5% 0.119 85.9)

  • #6FB775

    #6FB775

    oklch(71.5% 0.119 146.1)

Open the analogous palette in the generator

Split complementary

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

  • #9FAC4F

    #9FAC4F

    oklch(71.4% 0.119 116.1)

  • #80A0EE

    #80A0EE

    oklch(71.4% 0.12 266.4)

  • #C988CB

    #C988CB

    oklch(71.4% 0.119 325.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FAC4F

    #9FAC4F

    oklch(71.4% 0.119 116.1)

  • #4DAEE3

    #4DAEE3

    oklch(71.5% 0.119 235.8)

  • #DD82A5

    #DD82A5

    oklch(71.4% 0.119 356)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FAC4F

    #9FAC4F

    oklch(71.4% 0.119 116.1)

  • #17B7C7

    #17B7C7

    oklch(71.3% 0.119 206.2)

  • #AA93E5

    #AA93E5

    oklch(71.5% 0.119 296.2)

  • #E4847B

    #E4847B

    oklch(71.5% 0.12 26.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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