#9D540F

Closest named color: Warm Brown (#964E02). oklch(52.3% 0.121 56.3), rgb(157, 84, 15).

Aa

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

About this color

#9D540F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 52%, its chroma 0.121 and its hue 56°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Brown (#964E02), ΔE 0.021 away. White text reads best on it, at 5.66:1.

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameWarm Brown (#964E02)
Black text3.70:1
White text5.66:1

Values

HEX#9D540F
RGBrgb(157, 84, 15)
HSLhsl(29, 83%, 34%)
OKLCHoklch(52.3% 0.121 56.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 #9D540F 5.66:1 AA Lc -83.2 Fine for body text
Black text on #9D540F 3.70:1 AA large text Lc 26.2 Dividers and decoration only
#9D540F text on white 5.66:1 AA Lc 77.9 Fine for body text
#9D540F text on black 3.70:1 AA large text Lc -23.9 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

    #FAF4F0

    oklch(97.1% 0.008 56.3)

  2. Step 100

    100

    #F3E7DF

    oklch(93.5% 0.017 56.2)

  3. Step 200

    200

    #EBD4C5

    oklch(88.5% 0.033 55.3)

  4. Step 300

    300

    #DFB89C

    oklch(81% 0.059 57.4)

  5. Step 400

    400

    #CE9166

    oklch(70.7% 0.094 55.7)

  6. Step 500

    500

    #C07439

    oklch(63.1% 0.121 55.9)

  7. Step 600

    600

    #AB5B0E

    oklch(55.5% 0.131 56.1)

  8. Step 700

    700 (this color)

    #9D540F

    oklch(52.3% 0.121 56.3)

  9. Step 800

    800

    #773E06

    oklch(42.7% 0.1 56.7)

  10. Step 900

    900

    #603511

    oklch(37.6% 0.078 56.6)

  11. Step 950

    950

    #391F0C

    oklch(27% 0.05 54.8)

Export this scale for Tailwind in the Tailwind colors tool

#9D540F 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)#6A5D000.096
Deuteranopia (no green cones)#7B6D0E0.086
Tritanopia (no blue cones)#AD43480.082
Achromatopsia (no color)#6767670.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D540F

    #9D540F

    oklch(52.3% 0.121 56.3)

  • #0072A2

    #0072A2

    oklch(52.3% 0.113 236.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D540F

    #9D540F

    oklch(52.3% 0.121 56.3)

  • #A44A43

    #A44A43

    oklch(52.3% 0.121 26.5)

  • #856400

    #856400

    oklch(52.2% 0.107 85.9)

Open the analogous palette in the generator

Split complementary

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

  • #9D540F

    #9D540F

    oklch(52.3% 0.121 56.3)

  • #007883

    #007883

    oklch(52.3% 0.089 206)

  • #4966B0

    #4966B0

    oklch(52.4% 0.122 266.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D540F

    #9D540F

    oklch(52.3% 0.121 56.3)

  • #007C68

    #007C68

    oklch(52.4% 0.098 176.2)

  • #7159A7

    #7159A7

    oklch(52.3% 0.121 296.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D540F

    #9D540F

    oklch(52.3% 0.121 56.3)

  • #327C3C

    #327C3C

    oklch(52.4% 0.122 146.1)

  • #0072A2

    #0072A2

    oklch(52.3% 0.113 236.5)

  • #8D4E8F

    #8D4E8F

    oklch(52.3% 0.122 326)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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