#5B402D

Closest named color: Mud Brown (#60460F). oklch(39.7% 0.048 56), rgb(91, 64, 45).

Aa

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

About this color

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

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

Values

HEX#5B402D
RGBrgb(91, 64, 45)
HSLhsl(25, 34%, 27%)
OKLCHoklch(39.7% 0.048 56)

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 #5B402D 9.47:1 AAA Lc -96.1 Preferred for body text
Black text on #5B402D 2.21:1 Fails Lc 12.1 Not readable
#5B402D text on white 9.47:1 AAA Lc 91.8 Preferred for body text
#5B402D 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

    #E4D6CD

    oklch(88.5% 0.02 55.1)

  4. Step 300

    300

    #D4BBAB

    oklch(80.9% 0.036 54.7)

  5. Step 400

    400

    #BD987E

    oklch(70.7% 0.057 56.7)

  6. Step 500

    500

    #AC7E5D

    oklch(63.1% 0.074 56.6)

  7. Step 600

    600

    #976743

    oklch(55.6% 0.08 57.1)

  8. Step 700

    700

    #815535

    oklch(49.1% 0.075 56)

  9. Step 800

    800

    #69462C

    oklch(42.7% 0.062 56.8)

  10. Step 900

    900 (this color)

    #5B402D

    oklch(39.7% 0.048 56)

  11. Step 950

    950

    #322318

    oklch(27.1% 0.03 57.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B402D 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)#48422C0.035
Deuteranopia (no green cones)#4E482D0.033
Tritanopia (no blue cones)#623B3B0.033
Achromatopsia (no color)#4646460.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B402D

    #5B402D

    oklch(39.7% 0.048 56)

  • #2C4B5D

    #2C4B5D

    oklch(39.7% 0.048 235.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B402D

    #5B402D

    oklch(39.7% 0.048 56)

  • #5E3D39

    #5E3D39

    oklch(39.7% 0.047 27)

  • #524527

    #524527

    oklch(39.6% 0.049 86.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B402D

    #5B402D

    oklch(39.7% 0.048 56)

  • #234E54

    #234E54

    oklch(39.6% 0.049 207.4)

  • #3B4661

    #3B4661

    oklch(39.6% 0.048 267.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B402D

    #5B402D

    oklch(39.7% 0.048 56)

  • #284F46

    #284F46

    oklch(39.6% 0.047 177)

  • #49425E

    #49425E

    oklch(39.8% 0.047 295.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B402D

    #5B402D

    oklch(39.7% 0.048 56)

  • #364E37

    #364E37

    oklch(39.7% 0.048 145.6)

  • #2C4B5D

    #2C4B5D

    oklch(39.7% 0.048 235.2)

  • #543E55

    #543E55

    oklch(39.7% 0.047 325)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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