#9D8A52

Closest named color: Dark Sand (#A88F59). oklch(63.8% 0.078 91.3), rgb(157, 138, 82).

Aa

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

About this color

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

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

Values

HEX#9D8A52
RGBrgb(157, 138, 82)
HSLhsl(45, 31%, 47%)
OKLCHoklch(63.8% 0.078 91.3)

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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DED9CA

    oklch(88.5% 0.021 91.6)

  4. Step 300

    300

    #CAC0A5

    oklch(80.9% 0.038 90.1)

  5. Step 400

    400

    #AFA075

    oklch(70.8% 0.061 91.1)

  6. Step 500

    500 (this color)

    #9D8A52

    oklch(63.8% 0.078 91.3)

  7. Step 600

    600

    #867133

    oklch(55.5% 0.085 90.7)

  8. Step 700

    700

    #715F26

    oklch(49.1% 0.079 91.7)

  9. Step 800

    800

    #5C4E21

    oklch(42.8% 0.066 92.2)

  10. Step 900

    900

    #4C4120

    oklch(37.8% 0.052 91.4)

  11. Step 950

    950

    #2C2613

    oklch(27% 0.033 92.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D8A52 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)#95884E0.015
Deuteranopia (no green cones)#9A8E540.011
Tritanopia (no blue cones)#A7827C0.070
Achromatopsia (no color)#8B8B8B0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8A52

    #9D8A52

    oklch(63.8% 0.078 91.3)

  • #7A89BC

    #7A89BC

    oklch(63.8% 0.079 271.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8A52

    #9D8A52

    oklch(63.8% 0.078 91.3)

  • #AE8159

    #AE8159

    oklch(63.8% 0.078 62.3)

  • #84935C

    #84935C

    oklch(63.7% 0.079 121.1)

Open the analogous palette in the generator

Split complementary

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

  • #9D8A52

    #9D8A52

    oklch(63.8% 0.078 91.3)

  • #5F92B7

    #5F92B7

    oklch(63.9% 0.078 241)

  • #9480B4

    #9480B4

    oklch(63.7% 0.08 301.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8A52

    #9D8A52

    oklch(63.8% 0.078 91.3)

  • #4C98A7

    #4C98A7

    oklch(63.7% 0.078 212.2)

  • #A87AA1

    #A87AA1

    oklch(63.8% 0.078 331.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8A52

    #9D8A52

    oklch(63.8% 0.078 91.3)

  • #4F9B8E

    #4F9B8E

    oklch(63.7% 0.079 181.2)

  • #7A89BC

    #7A89BC

    oklch(63.8% 0.079 271.4)

  • #B47788

    #B47788

    oklch(63.7% 0.079 1.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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