#9F8A48

Closest named color: Dark Tan (#AF884A). oklch(63.8% 0.089 92.1), rgb(159, 138, 72).

Aa

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

About this color

#9F8A48 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.089 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Tan (#AF884A), ΔE 0.027 away. Black text reads best on it, at 6.20:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameDark Tan (#AF884A)
Black text6.20:1
White text3.38:1

Values

HEX#9F8A48
RGBrgb(159, 138, 72)
HSLhsl(46, 38%, 45%)
OKLCHoklch(63.8% 0.089 92.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 #9F8A48 3.38:1 AA large text Lc -66.7 Content text, not long reading
Black text on #9F8A48 6.20:1 AA Lc 42.8 Non-text elements, placeholder text
#9F8A48 text on white 3.38:1 AA large text Lc 61.3 Content text, not long reading
#9F8A48 text on black 6.20:1 AA Lc -40.4 Non-text elements, placeholder text

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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEAE1

    oklch(93.7% 0.012 91.5)

  3. Step 200

    200

    #DFD9C7

    oklch(88.5% 0.025 91.6)

  4. Step 300

    300

    #CBC0A1

    oklch(80.9% 0.044 90.8)

  5. Step 400

    400

    #B0A06E

    oklch(70.8% 0.07 92.4)

  6. Step 500

    500 (this color)

    #9F8A48

    oklch(63.8% 0.089 92.1)

  7. Step 600

    600

    #887125

    oklch(55.6% 0.097 91.8)

  8. Step 700

    700

    #735F17

    oklch(49.2% 0.091 92.6)

  9. Step 800

    800

    #5E4D16

    oklch(42.7% 0.075 91.3)

  10. Step 900

    900

    #4D411A

    oklch(37.9% 0.058 92.3)

  11. Step 950

    950

    #2D2610

    oklch(27.1% 0.037 92.1)

Export this scale for Tailwind in the Tailwind colors tool

#9F8A48 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)#9688420.017
Deuteranopia (no green cones)#9C8E4B0.011
Tritanopia (no blue cones)#AA817B0.081
Achromatopsia (no color)#8B8B8B0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F8A48

    #9F8A48

    oklch(63.8% 0.089 92.1)

  • #7988C2

    #7988C2

    oklch(63.8% 0.089 272.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F8A48

    #9F8A48

    oklch(63.8% 0.089 92.1)

  • #B37F51

    #B37F51

    oklch(63.8% 0.089 61.6)

  • #829455

    #829455

    oklch(63.7% 0.089 122)

Open the analogous palette in the generator

Split complementary

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

  • #9F8A48

    #9F8A48

    oklch(63.8% 0.089 92.1)

  • #5892BD

    #5892BD

    oklch(63.8% 0.089 242.1)

  • #967FB9

    #967FB9

    oklch(63.9% 0.089 302.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F8A48

    #9F8A48

    oklch(63.8% 0.089 92.1)

  • #3E9AAB

    #3E9AAB

    oklch(63.8% 0.089 211.8)

  • #AC77A4

    #AC77A4

    oklch(63.8% 0.09 332)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F8A48

    #9F8A48

    oklch(63.8% 0.089 92.1)

  • #429D90

    #429D90

    oklch(63.8% 0.089 182.6)

  • #7988C2

    #7988C2

    oklch(63.8% 0.089 272.5)

  • #B97487

    #B97487

    oklch(63.8% 0.09 2.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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