#5B400A

Closest named color: Mud Brown (#60460F). oklch(39.2% 0.076 79.2), rgb(91, 64, 10).

Aa

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

About this color

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

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

Values

HEX#5B400A
RGBrgb(91, 64, 10)
HSLhsl(40, 80%, 20%)
OKLCHoklch(39.2% 0.076 79.2)

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 #5B400A 9.62:1 AAA Lc -96.4 Preferred for body text
Black text on #5B400A 2.18:1 Fails Lc 11.8 Not readable
#5B400A text on white 9.62:1 AAA Lc 92.1 Preferred for body text
#5B400A 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

    #E5D7C2

    oklch(88.5% 0.032 78.1)

  4. Step 300

    300

    #D5BD98

    oklch(80.9% 0.057 78.5)

  5. Step 400

    400

    #BF9A5D

    oklch(70.7% 0.091 79)

  6. Step 500

    500

    #AF8028

    oklch(63.1% 0.116 78.8)

  7. Step 600

    600

    #976A00

    oklch(55.7% 0.116 79.3)

  8. Step 700

    700

    #7F5900

    oklch(49.2% 0.102 79.8)

  9. Step 800

    800

    #694800

    oklch(42.7% 0.089 78.7)

  10. Step 900

    900 (this color)

    #5B400A

    oklch(39.2% 0.076 79.2)

  11. Step 950

    950

    #332307

    oklch(26.9% 0.048 78)

Export this scale for Tailwind in the Tailwind colors tool

#5B400A 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)#4A41010.034
Deuteranopia (no green cones)#51480D0.028
Tritanopia (no blue cones)#6438360.066
Achromatopsia (no color)#4545450.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B400A

    #5B400A

    oklch(39.2% 0.076 79.2)

  • #2C466E

    #2C466E

    oklch(39.3% 0.075 258.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B400A

    #5B400A

    oklch(39.2% 0.076 79.2)

  • #66381E

    #66381E

    oklch(39.3% 0.076 48.7)

  • #494910

    #494910

    oklch(39.3% 0.076 109.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B400A

    #5B400A

    oklch(39.2% 0.076 79.2)

  • #044D66

    #044D66

    oklch(39.3% 0.076 228.9)

  • #453E6B

    #453E6B

    oklch(39.2% 0.075 289.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B400A

    #5B400A

    oklch(39.2% 0.076 79.2)

  • #005053

    #005053

    oklch(39.2% 0.067 199.2)

  • #57375F

    #57375F

    oklch(39.1% 0.077 319.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B400A

    #5B400A

    oklch(39.2% 0.076 79.2)

  • #06523F

    #06523F

    oklch(39.1% 0.075 169.9)

  • #2C466E

    #2C466E

    oklch(39.3% 0.075 258.7)

  • #63334C

    #63334C

    oklch(39.1% 0.077 348.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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