#9FA787

Closest named color: Stone (#ADA587). oklch(71.3% 0.046 119), rgb(159, 167, 135).

Aa

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

About this color

#9FA787 is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.046 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.020 away. Black text reads best on it, at 8.35:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.046)
Temperaturein between
Nearest nameStone (#ADA587)
Black text8.35:1
White text2.51:1

Values

HEX#9FA787
RGBrgb(159, 167, 135)
HSLhsl(75, 15%, 59%)
OKLCHoklch(71.3% 0.046 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 #9FA787 2.51:1 Fails Lc -54.4 Large or bold text, headings
Black text on #9FA787 8.35:1 AAA Lc 54.7 Large or bold text, headings
#9FA787 text on white 2.51:1 Fails Lc 49.3 Large or bold text, headings
#9FA787 text on black 8.35:1 AAA Lc -52.6 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE5

    oklch(93.7% 0.008 121.6)

  3. Step 200

    200

    #D8DBCF

    oklch(88.6% 0.016 118.2)

  4. Step 300

    300

    #BEC4AF

    oklch(81% 0.03 120)

  5. Step 400

    400 (this color)

    #9FA787

    oklch(71.3% 0.046 119)

  6. Step 500

    500

    #858F67

    oklch(63.1% 0.058 119.5)

  7. Step 600

    600

    #6F794E

    oklch(55.6% 0.064 119.2)

  8. Step 700

    700

    #5D663F

    oklch(49.2% 0.059 119.2)

  9. Step 800

    800

    #4C5334

    oklch(42.7% 0.049 118.9)

  10. Step 900

    900

    #3F452D

    oklch(37.8% 0.039 119.7)

  11. Step 950

    950

    #25281B

    oklch(26.9% 0.023 118.6)

Export this scale for Tailwind in the Tailwind colors tool

#9FA787 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)#ACA3850.020
Deuteranopia (no green cones)#ABA3880.020
Tritanopia (no blue cones)#A2A39E0.039
Achromatopsia (no color)#A3A3A30.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FA787

    #9FA787

    oklch(71.3% 0.046 119)

  • #A69DBC

    #A69DBC

    oklch(71.4% 0.046 298.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA787

    #9FA787

    oklch(71.3% 0.046 119)

  • #AEA282

    #AEA282

    oklch(71.4% 0.046 89.9)

  • #8FAB93

    #8FAB93

    oklch(71.3% 0.046 149.1)

Open the analogous palette in the generator

Split complementary

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

  • #9FA787

    #9FA787

    oklch(71.3% 0.046 119)

  • #97A2C0

    #97A2C0

    oklch(71.4% 0.046 269.4)

  • #B399B1

    #B399B1

    oklch(71.4% 0.045 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA787

    #9FA787

    oklch(71.3% 0.046 119)

  • #89A7BC

    #89A7BC

    oklch(71.3% 0.045 238.8)

  • #BC97A2

    #BC97A2

    oklch(71.4% 0.047 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA787

    #9FA787

    oklch(71.3% 0.046 119)

  • #81ABB2

    #81ABB2

    oklch(71.3% 0.046 208.8)

  • #A69DBC

    #A69DBC

    oklch(71.4% 0.046 298.5)

  • #BE9892

    #BE9892

    oklch(71.3% 0.047 28.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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