#9FA271

Closest named color: Dust (#B2996E). oklch(69.7% 0.067 111), rgb(159, 162, 113).

Aa

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

About this color

#9FA271 is a medium-light, muted yellow. In OKLCH its lightness is 70%, its chroma 0.067 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dust (#B2996E), ΔE 0.035 away. Black text reads best on it, at 7.88:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamuted (0.067)
Temperaturein between
Nearest nameDust (#B2996E)
Black text7.88:1
White text2.66:1

Values

HEX#9FA271
RGBrgb(159, 162, 113)
HSLhsl(64, 21%, 54%)
OKLCHoklch(69.7% 0.067 111)

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 #9FA271 2.66:1 Fails Lc -57.0 Large or bold text, headings
Black text on #9FA271 7.88:1 AAA Lc 52.2 Large or bold text, headings
#9FA271 text on white 2.66:1 Fails Lc 51.8 Large or bold text, headings
#9FA271 text on black 7.88:1 AAA Lc -50.1 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #D9DBC9

    oklch(88.5% 0.024 112)

  4. Step 300

    300

    #C1C4A5

    oklch(81% 0.042 111.8)

  5. Step 400

    400 (this color)

    #9FA271

    oklch(69.7% 0.067 111)

  6. Step 500

    500

    #8C8E4F

    oklch(63% 0.085 110.2)

  7. Step 600

    600

    #767831

    oklch(55.6% 0.094 110.6)

  8. Step 700

    700

    #636524

    oklch(49.1% 0.087 110.9)

  9. Step 800

    800

    #51531F

    oklch(42.8% 0.073 111.2)

  10. Step 900

    900

    #43441F

    oklch(37.6% 0.056 110.2)

  11. Step 950

    950

    #272813

    oklch(27% 0.035 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#9FA271 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)#A99E6E0.017
Deuteranopia (no green cones)#AA9F730.018
Tritanopia (no blue cones)#A59C950.059
Achromatopsia (no color)#9E9E9E0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FA271

    #9FA271

    oklch(69.7% 0.067 111)

  • #9D97C5

    #9D97C5

    oklch(69.8% 0.067 290.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA271

    #9FA271

    oklch(69.7% 0.067 111)

  • #B39A6D

    #B39A6D

    oklch(69.8% 0.068 81.8)

  • #87A981

    #87A981

    oklch(69.9% 0.068 140.9)

Open the analogous palette in the generator

Split complementary

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

  • #9FA271

    #9FA271

    oklch(69.7% 0.067 111)

  • #869FC8

    #869FC8

    oklch(69.8% 0.067 260.2)

  • #B190B7

    #B190B7

    oklch(69.7% 0.067 321.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA271

    #9FA271

    oklch(69.7% 0.067 111)

  • #72A6C0

    #72A6C0

    oklch(69.8% 0.067 230.6)

  • #BF8DA3

    #BF8DA3

    oklch(69.8% 0.067 350.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA271

    #9FA271

    oklch(69.7% 0.067 111)

  • #69ABAF

    #69ABAF

    oklch(69.9% 0.068 200.7)

  • #9D97C5

    #9D97C5

    oklch(69.8% 0.067 290.5)

  • #C48D8C

    #C48D8C

    oklch(69.7% 0.067 20.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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