#9D985F

Closest named color: Dark Sand (#A88F59). oklch(67% 0.077 103.9), rgb(157, 152, 95).

Aa

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

About this color

#9D985F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.077 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Sand (#A88F59), ΔE 0.027 away. Black text reads best on it, at 7.09:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text7.09:1
White text2.96:1

Values

HEX#9D985F
RGBrgb(157, 152, 95)
HSLhsl(55, 25%, 49%)
OKLCHoklch(67% 0.077 103.9)

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 #9D985F 2.96:1 Fails Lc -61.5 Content text, not long reading
Black text on #9D985F 7.09:1 AAA Lc 47.9 Large or bold text, headings
#9D985F text on white 2.96:1 Fails Lc 56.1 Large or bold text, headings
#9D985F text on black 7.09:1 AAA Lc -45.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C5C39F

    oklch(80.9% 0.049 104.8)

  5. Step 400

    400 (this color)

    #9D985F

    oklch(67% 0.077 103.9)

  6. Step 500

    500

    #938C40

    oklch(63% 0.098 104)

  7. Step 600

    600

    #7E761B

    oklch(55.6% 0.107 104.2)

  8. Step 700

    700

    #6A630B

    oklch(49.1% 0.1 104.5)

  9. Step 800

    800

    #57510F

    oklch(42.8% 0.083 104)

  10. Step 900

    900

    #474316

    oklch(37.7% 0.064 104.2)

  11. Step 950

    950

    #2A270E

    oklch(26.9% 0.04 102.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D985F 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)#A1945B0.011
Deuteranopia (no green cones)#A397610.010
Tritanopia (no blue cones)#A5918A0.070
Achromatopsia (no color)#9696960.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D985F

    #9D985F

    oklch(67% 0.077 103.9)

  • #8F8FC4

    #8F8FC4

    oklch(67% 0.078 284.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D985F

    #9D985F

    oklch(67% 0.077 103.9)

  • #B28E5F

    #B28E5F

    oklch(67% 0.077 73.3)

  • #82A06F

    #82A06F

    oklch(67% 0.077 133.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D985F

    #9D985F

    oklch(67% 0.077 103.9)

  • #7498C4

    #7498C4

    oklch(67% 0.077 253.8)

  • #A787B7

    #A787B7

    oklch(67% 0.078 314.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D985F

    #9D985F

    oklch(67% 0.077 103.9)

  • #5DA0B9

    #5DA0B9

    oklch(67.1% 0.077 224.2)

  • #B882A1

    #B882A1

    oklch(67% 0.078 344)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D985F

    #9D985F

    oklch(67% 0.077 103.9)

  • #56A4A3

    #56A4A3

    oklch(66.9% 0.077 194.4)

  • #8F8FC4

    #8F8FC4

    oklch(67% 0.078 284.1)

  • #C08287

    #C08287

    oklch(67.1% 0.077 14)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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