#9D8A50

Closest named color: Dark Sand (#A88F59). oklch(63.7% 0.081 91.8), rgb(157, 138, 80).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.18:1
White text3.39:1

Values

HEX#9D8A50
RGBrgb(157, 138, 80)
HSLhsl(45, 32%, 46%)
OKLCHoklch(63.7% 0.081 91.8)

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 #9D8A50 3.39:1 AA large text Lc -66.9 Content text, not long reading
Black text on #9D8A50 6.18:1 AA Lc 42.7 Non-text elements, placeholder text
#9D8A50 text on white 3.39:1 AA large text Lc 61.4 Content text, not long reading
#9D8A50 text on black 6.18:1 AA Lc -40.3 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

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DED9C9

    oklch(88.5% 0.022 92.5)

  4. Step 300

    300

    #CAC0A4

    oklch(80.9% 0.04 90.7)

  5. Step 400

    400

    #AFA073

    oklch(70.8% 0.064 91.8)

  6. Step 500

    500 (this color)

    #9D8A50

    oklch(63.7% 0.081 91.8)

  7. Step 600

    600

    #867131

    oklch(55.5% 0.087 91.2)

  8. Step 700

    700

    #715F23

    oklch(49.1% 0.082 92.3)

  9. Step 800

    800

    #5C4E1F

    oklch(42.8% 0.068 92.7)

  10. Step 900

    900

    #4C411F

    oklch(37.8% 0.053 91.8)

  11. Step 950

    950

    #2C2613

    oklch(27% 0.033 92.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D8A50 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)#95884B0.015
Deuteranopia (no green cones)#9A8E520.011
Tritanopia (no blue cones)#A8827C0.073
Achromatopsia (no color)#8B8B8B0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8A50

    #9D8A50

    oklch(63.7% 0.081 91.8)

  • #7A89BD

    #7A89BD

    oklch(63.8% 0.08 271.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8A50

    #9D8A50

    oklch(63.7% 0.081 91.8)

  • #AF8057

    #AF8057

    oklch(63.7% 0.081 61.7)

  • #83935B

    #83935B

    oklch(63.6% 0.08 121.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D8A50

    #9D8A50

    oklch(63.7% 0.081 91.8)

  • #5E92B8

    #5E92B8

    oklch(63.8% 0.08 241.3)

  • #9480B5

    #9480B5

    oklch(63.8% 0.081 301.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8A50

    #9D8A50

    oklch(63.7% 0.081 91.8)

  • #4998A8

    #4998A8

    oklch(63.6% 0.081 212.7)

  • #A979A1

    #A979A1

    oklch(63.7% 0.081 332.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8A50

    #9D8A50

    oklch(63.7% 0.081 91.8)

  • #4C9C8F

    #4C9C8F

    oklch(63.8% 0.081 181.6)

  • #7A89BD

    #7A89BD

    oklch(63.8% 0.08 271.6)

  • #B57788

    #B57788

    oklch(63.9% 0.081 1.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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