#5B402A

Closest named color: Mud Brown (#60460F). oklch(39.6% 0.051 59.8), rgb(91, 64, 42).

Aa

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

About this color

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

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

Values

HEX#5B402A
RGBrgb(91, 64, 42)
HSLhsl(27, 37%, 26%)
OKLCHoklch(39.6% 0.051 59.8)

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 #5B402A 9.49:1 AAA Lc -96.2 Preferred for body text
Black text on #5B402A 2.21:1 Fails Lc 12.1 Not readable
#5B402A text on white 9.49:1 AAA Lc 91.9 Preferred for body text
#5B402A 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

    #BE987A

    oklch(70.7% 0.062 59.8)

  6. Step 500

    500

    #AD7E58

    oklch(63.1% 0.079 59.7)

  7. Step 600

    600

    #98673E

    oklch(55.7% 0.085 59.7)

  8. Step 700

    700

    #815530

    oklch(49% 0.078 59.5)

  9. Step 800

    800

    #694628

    oklch(42.7% 0.065 60.3)

  10. Step 900

    900 (this color)

    #5B402A

    oklch(39.6% 0.051 59.8)

  11. Step 950

    950

    #322316

    oklch(27.1% 0.032 61.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B402A 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)#4842280.036
Deuteranopia (no green cones)#4F482A0.031
Tritanopia (no blue cones)#623A3A0.037
Achromatopsia (no color)#4646460.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B402A

    #5B402A

    oklch(39.6% 0.051 59.8)

  • #2C4A5F

    #2C4A5F

    oklch(39.5% 0.051 240.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B402A

    #5B402A

    oklch(39.6% 0.051 59.8)

  • #5F3C36

    #5F3C36

    oklch(39.6% 0.051 30.2)

  • #514525

    #514525

    oklch(39.5% 0.051 89.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B402A

    #5B402A

    oklch(39.6% 0.051 59.8)

  • #214E56

    #214E56

    oklch(39.6% 0.051 210.8)

  • #3C4562

    #3C4562

    oklch(39.5% 0.051 270.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B402A

    #5B402A

    oklch(39.6% 0.051 59.8)

  • #245047

    #245047

    oklch(39.7% 0.051 178.4)

  • #4B405E

    #4B405E

    oklch(39.5% 0.051 300.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B402A

    #5B402A

    oklch(39.6% 0.051 59.8)

  • #324E38

    #324E38

    oklch(39.5% 0.05 150.3)

  • #2C4A5F

    #2C4A5F

    oklch(39.5% 0.051 240.3)

  • #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 #5B402A, closest first.

Similar named colors

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

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