#9D5F17

Closest named color: Raw Sienna (#9A6200). oklch(54.3% 0.114 63.7), rgb(157, 95, 23).

Aa

White text reads best on this color (5.14:1).

About this color

#9D5F17 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 54%, its chroma 0.114 and its hue 64°. Its hue sits on the warm side of the wheel. The nearest named color is Raw Sienna (#9A6200), ΔE 0.015 away. White text reads best on it, at 5.14:1.

Hue familyBrowns
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.114)
Temperaturewarm
Nearest nameRaw Sienna (#9A6200)
Black text4.08:1
White text5.14:1

Values

HEX#9D5F17
RGBrgb(157, 95, 23)
HSLhsl(32, 74%, 35%)
OKLCHoklch(54.3% 0.114 63.7)

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 #9D5F17 5.14:1 AA Lc -80.5 Fine for body text
Black text on #9D5F17 4.08:1 AA large text Lc 29.0 Dividers and decoration only
#9D5F17 text on white 5.14:1 AA Lc 75.1 Fine for body text
#9D5F17 text on black 4.08:1 AA large text Lc -26.6 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F9F5F1

    oklch(97.2% 0.007 67.7)

  2. Step 100

    100

    #F1E8E0

    oklch(93.6% 0.015 64.3)

  3. Step 200

    200

    #E7D6C6

    oklch(88.6% 0.029 65.7)

  4. Step 300

    300

    #D9BA9F

    oklch(80.9% 0.051 63.1)

  5. Step 400

    400

    #C5966A

    oklch(70.7% 0.082 64)

  6. Step 500

    500

    #B67B40

    oklch(63.2% 0.105 63.8)

  7. Step 600

    600 (this color)

    #9D5F17

    oklch(54.3% 0.114 63.7)

  8. Step 700

    700

    #8A510D

    oklch(49.1% 0.106 63.1)

  9. Step 800

    800

    #704310

    oklch(42.7% 0.088 63.7)

  10. Step 900

    900

    #5B3916

    oklch(37.8% 0.069 63.6)

  11. Step 950

    950

    #35220E

    oklch(27.1% 0.043 65.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D5F17 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)#7365070.078
Deuteranopia (no green cones)#8173180.070
Tritanopia (no blue cones)#AC51510.084
Achromatopsia (no color)#6D6D6D0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D5F17

    #9D5F17

    oklch(54.3% 0.114 63.7)

  • #2776AD

    #2776AD

    oklch(54.5% 0.114 243.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D5F17

    #9D5F17

    oklch(54.3% 0.114 63.7)

  • #A75442

    #A75442

    oklch(54.3% 0.113 33.5)

  • #856D00

    #856D00

    oklch(54.2% 0.111 93.6)

Open the analogous palette in the generator

Split complementary

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

  • #9D5F17

    #9D5F17

    oklch(54.3% 0.114 63.7)

  • #007D91

    #007D91

    oklch(54.2% 0.095 214)

  • #5B69B2

    #5B69B2

    oklch(54.3% 0.115 273.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D5F17

    #9D5F17

    oklch(54.3% 0.114 63.7)

  • #008276

    #008276

    oklch(54.5% 0.097 183.6)

  • #7E5DA5

    #7E5DA5

    oklch(54.3% 0.114 304)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D5F17

    #9D5F17

    oklch(54.3% 0.114 63.7)

  • #2D8250

    #2D8250

    oklch(54.2% 0.113 154)

  • #2776AD

    #2776AD

    oklch(54.5% 0.114 243.6)

  • #97548B

    #97548B

    oklch(54.3% 0.115 334)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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