#5B400F

Closest named color: Mud Brown (#60460F). oklch(39.2% 0.073 77.8), rgb(91, 64, 15).

Aa

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

About this color

#5B400F is a dark, moderately saturated brown. In OKLCH its lightness is 39%, its chroma 0.073 and its hue 78°. Its hue sits on the warm side of the wheel. The nearest named color is Mud Brown (#60460F), ΔE 0.021 away. White text reads best on it, at 9.61:1.

Hue familyBrowns
Lightnessdark (39%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameMud Brown (#60460F)
Black text2.18:1
White text9.61:1

Values

HEX#5B400F
RGBrgb(91, 64, 15)
HSLhsl(39, 72%, 21%)
OKLCHoklch(39.2% 0.073 77.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 #5B400F 9.61:1 AAA Lc -96.3 Preferred for body text
Black text on #5B400F 2.18:1 Fails Lc 11.8 Not readable
#5B400F text on white 9.61:1 AAA Lc 92.1 Preferred for body text
#5B400F text on black 2.18:1 Fails Lc -10.3 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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #F0E9DE

    oklch(93.6% 0.017 79.3)

  3. Step 200

    200

    #E4D7C3

    oklch(88.4% 0.03 78.8)

  4. Step 300

    300

    #D5BD99

    oklch(81% 0.056 77.8)

  5. Step 400

    400

    #BF9A60

    oklch(70.7% 0.088 77.9)

  6. Step 500

    500

    #AE802F

    oklch(63.1% 0.111 78)

  7. Step 600

    600

    #986900

    oklch(55.6% 0.116 77.9)

  8. Step 700

    700

    #805800

    oklch(49.1% 0.102 78.1)

  9. Step 800

    800

    #694800

    oklch(42.7% 0.089 78.7)

  10. Step 900

    900 (this color)

    #5B400F

    oklch(39.2% 0.073 77.8)

  11. Step 950

    950

    #332309

    oklch(27% 0.046 76.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B400F 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)#4A41070.034
Deuteranopia (no green cones)#5148110.029
Tritanopia (no blue cones)#6438360.063
Achromatopsia (no color)#4545450.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B400F

    #5B400F

    oklch(39.2% 0.073 77.8)

  • #2C466C

    #2C466C

    oklch(39.2% 0.072 257.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B400F

    #5B400F

    oklch(39.2% 0.073 77.8)

  • #653821

    #653821

    oklch(39.2% 0.073 46.8)

  • #4A4812

    #4A4812

    oklch(39.2% 0.073 107.2)

Open the analogous palette in the generator

Split complementary

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

  • #5B400F

    #5B400F

    oklch(39.2% 0.073 77.8)

  • #084D64

    #084D64

    oklch(39.3% 0.073 227.3)

  • #443F6A

    #443F6A

    oklch(39.3% 0.072 288)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B400F

    #5B400F

    oklch(39.2% 0.073 77.8)

  • #005052

    #005052

    oklch(39.1% 0.067 197.7)

  • #56385F

    #56385F

    oklch(39.2% 0.074 318.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B400F

    #5B400F

    oklch(39.2% 0.073 77.8)

  • #0F523E

    #0F523E

    oklch(39.3% 0.073 167.9)

  • #2C466C

    #2C466C

    oklch(39.2% 0.072 257.8)

  • #62344D

    #62344D

    oklch(39.2% 0.074 347.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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