#5B402B

Closest named color: Mud Brown (#60460F). oklch(39.6% 0.05 58.6), rgb(91, 64, 43).

Aa

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

About this color

#5B402B is a dark, muted brown. In OKLCH its lightness is 40%, its chroma 0.050 and its hue 59°. Its hue sits on the warm side of the wheel. The nearest named color is Mud Brown (#60460F), ΔE 0.040 away. White text reads best on it, at 9.48:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamuted (0.050)
Temperaturewarm
Nearest nameMud Brown (#60460F)
Black text2.21:1
White text9.48:1

Values

HEX#5B402B
RGBrgb(91, 64, 43)
HSLhsl(26, 36%, 26%)
OKLCHoklch(39.6% 0.05 58.6)

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 #5B402B 9.48:1 AAA Lc -96.1 Preferred for body text
Black text on #5B402B 2.21:1 Fails Lc 12.1 Not readable
#5B402B text on white 9.48:1 AAA Lc 91.9 Preferred for body text
#5B402B text on black 2.21:1 Fails Lc -10.5 Not readable

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

  1. Step 50

    50

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #F0E8E3

    oklch(93.6% 0.011 54.5)

  3. Step 200

    200

    #E4D6CC

    oklch(88.5% 0.021 58)

  4. Step 300

    300

    #D4BBA9

    oklch(80.9% 0.038 57.9)

  5. Step 400

    400

    #BE987C

    oklch(70.8% 0.06 58)

  6. Step 500

    500

    #AD7E5A

    oklch(63.1% 0.077 58.2)

  7. Step 600

    600

    #986740

    oklch(55.7% 0.083 58.5)

  8. Step 700

    700

    #815532

    oklch(49% 0.077 58.2)

  9. Step 800

    800

    #69462A

    oklch(42.7% 0.064 58.6)

  10. Step 900

    900 (this color)

    #5B402B

    oklch(39.6% 0.05 58.6)

  11. Step 950

    950

    #322317

    oklch(27.1% 0.031 59.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B402B 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)#4842290.036
Deuteranopia (no green cones)#4E482B0.033
Tritanopia (no blue cones)#623B3B0.035
Achromatopsia (no color)#4646460.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B402B

    #5B402B

    oklch(39.6% 0.05 58.6)

  • #2C4B5F

    #2C4B5F

    oklch(39.8% 0.05 238.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B402B

    #5B402B

    oklch(39.6% 0.05 58.6)

  • #5F3C37

    #5F3C37

    oklch(39.6% 0.051 28.5)

  • #524526

    #524526

    oklch(39.6% 0.05 87.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B402B

    #5B402B

    oklch(39.6% 0.05 58.6)

  • #224E55

    #224E55

    oklch(39.6% 0.05 209.1)

  • #3B4662

    #3B4662

    oklch(39.7% 0.05 267.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B402B

    #5B402B

    oklch(39.6% 0.05 58.6)

  • #255047

    #255047

    oklch(39.7% 0.051 178.1)

  • #4A415E

    #4A415E

    oklch(39.7% 0.049 298.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B402B

    #5B402B

    oklch(39.6% 0.05 58.6)

  • #334E38

    #334E38

    oklch(39.5% 0.049 149.5)

  • #2C4B5F

    #2C4B5F

    oklch(39.8% 0.05 238.1)

  • #563D54

    #563D54

    oklch(39.7% 0.05 329.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5B402B 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.