#5B4002

Closest named color: Mud Brown (#60460F). oklch(39.1% 0.08 81), rgb(91, 64, 2).

Aa

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

About this color

#5B4002 is a dark, moderately saturated brown. In OKLCH its lightness is 39%, its chroma 0.080 and its hue 81°. 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.63:1.

Hue familyBrowns
Lightnessdark (39%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameMud Brown (#60460F)
Black text2.17:1
White text9.63:1

Values

HEX#5B4002
RGBrgb(91, 64, 2)
HSLhsl(42, 96%, 18%)
OKLCHoklch(39.1% 0.08 81)

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 #5B4002 9.63:1 AAA Lc -96.4 Preferred for body text
Black text on #5B4002 2.17:1 Fails Lc 11.8 Not readable
#5B4002 text on white 9.63:1 AAA Lc 92.1 Preferred for body text
#5B4002 text on black 2.17: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

    #F0E9DD

    oklch(93.6% 0.018 81.3)

  3. Step 200

    200

    #E5D7C1

    oklch(88.5% 0.033 79.3)

  4. Step 300

    300

    #D5BD95

    oklch(80.9% 0.06 80.3)

  5. Step 400

    400

    #BF9A58

    oklch(70.6% 0.095 80.7)

  6. Step 500

    500

    #AF801B

    oklch(63% 0.122 80.7)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900 (this color)

    #5B4002

    oklch(39.1% 0.08 81)

  11. Step 950

    950

    #332304

    oklch(26.9% 0.051 80.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B4002 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)#4B41000.031
Deuteranopia (no green cones)#5147050.026
Tritanopia (no blue cones)#6438350.069
Achromatopsia (no color)#4545450.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B4002

    #5B4002

    oklch(39.1% 0.08 81)

  • #2C4570

    #2C4570

    oklch(39.2% 0.08 260.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B4002

    #5B4002

    oklch(39.1% 0.08 81)

  • #673719

    #673719

    oklch(39.1% 0.081 50.4)

  • #47490B

    #47490B

    oklch(39.1% 0.08 111.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B4002

    #5B4002

    oklch(39.1% 0.08 81)

  • #004C68

    #004C68

    oklch(39.1% 0.079 231.5)

  • #463D6D

    #463D6D

    oklch(39.2% 0.08 290.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B4002

    #5B4002

    oklch(39.1% 0.08 81)

  • #005054

    #005054

    oklch(39.2% 0.067 200.6)

  • #59365F

    #59365F

    oklch(39.2% 0.08 321.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B4002

    #5B4002

    oklch(39.1% 0.08 81)

  • #005240

    #005240

    oklch(39.1% 0.076 171.5)

  • #2C4570

    #2C4570

    oklch(39.2% 0.08 260.7)

  • #65324B

    #65324B

    oklch(39.2% 0.08 350.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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