#9F5017

Closest named color: Sienna (#A0522D). oklch(52% 0.124 51), rgb(159, 80, 23).

Aa

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

About this color

#9F5017 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 52%, its chroma 0.124 and its hue 51°. Its hue sits on the warm side of the wheel. The nearest named color is Sienna (#A0522D), ΔE 0.017 away. White text reads best on it, at 5.77:1.

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameSienna (#A0522D)
Black text3.63:1
White text5.77:1

Values

HEX#9F5017
RGBrgb(159, 80, 23)
HSLhsl(25, 75%, 36%)
OKLCHoklch(52% 0.124 51)

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 #9F5017 5.77:1 AA Lc -83.7 Fine for body text
Black text on #9F5017 3.63:1 AA large text Lc 25.7 Dividers and decoration only
#9F5017 text on white 5.77:1 AA Lc 78.4 Fine for body text
#9F5017 text on black 3.63:1 AA large text Lc -23.4 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 700.

  1. Step 50

    50

    #FAF4F1

    oklch(97.1% 0.008 48.7)

  2. Step 100

    100

    #F4E7E0

    oklch(93.6% 0.017 50.4)

  3. Step 200

    200

    #ECD3C6

    oklch(88.4% 0.033 49.3)

  4. Step 300

    300

    #E1B69E

    oklch(80.8% 0.06 50.7)

  5. Step 400

    400

    #D18F69

    oklch(70.7% 0.096 50.6)

  6. Step 500

    500

    #C3723E

    oklch(63.2% 0.122 51.5)

  7. Step 600

    600

    #AF5819

    oklch(55.6% 0.134 50.9)

  8. Step 700

    700 (this color)

    #9F5017

    oklch(52% 0.124 51)

  9. Step 800

    800

    #7A3B0E

    oklch(42.7% 0.103 50.6)

  10. Step 900

    900

    #623315

    oklch(37.6% 0.08 50.5)

  11. Step 950

    950

    #3A1F0E

    oklch(27.2% 0.05 51.4)

Export this scale for Tailwind in the Tailwind colors tool

#9F5017 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)#675B0C0.107
Deuteranopia (no green cones)#7A6D150.097
Tritanopia (no blue cones)#AF3E450.076
Achromatopsia (no color)#6666660.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F5017

    #9F5017

    oklch(52% 0.124 51)

  • #00739A

    #00739A

    oklch(52.1% 0.105 230.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F5017

    #9F5017

    oklch(52% 0.124 51)

  • #A44749

    #A44749

    oklch(52% 0.123 21.1)

  • #886100

    #886100

    oklch(52% 0.107 81.1)

Open the analogous palette in the generator

Split complementary

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

  • #9F5017

    #9F5017

    oklch(52% 0.124 51)

  • #00787E

    #00787E

    oklch(52.1% 0.089 200.9)

  • #3E67AF

    #3E67AF

    oklch(52% 0.123 260.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F5017

    #9F5017

    oklch(52% 0.124 51)

  • #007B61

    #007B61

    oklch(51.9% 0.101 171.3)

  • #6A59AA

    #6A59AA

    oklch(51.9% 0.125 291.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F5017

    #9F5017

    oklch(52% 0.124 51)

  • #3B7A32

    #3B7A32

    oklch(52% 0.124 141.2)

  • #00739A

    #00739A

    oklch(52.1% 0.105 230.8)

  • #884E94

    #884E94

    oklch(51.9% 0.124 320.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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