#5B542E

Closest named color: Olive Brown (#645403). oklch(44.3% 0.056 99.1), rgb(91, 84, 46).

Aa

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

About this color

#5B542E is a dark, muted brown. In OKLCH its lightness is 44%, its chroma 0.056 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.035 away. White text reads best on it, at 7.62:1.

Hue familyBrowns
Lightnessdark (44%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.75:1
White text7.62:1

Values

HEX#5B542E
RGBrgb(91, 84, 46)
HSLhsl(51, 33%, 27%)
OKLCHoklch(44.3% 0.056 99.1)

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 #5B542E 7.62:1 AAA Lc -91.3 Preferred for body text
Black text on #5B542E 2.75:1 Fails Lc 17.5 Dividers and decoration only
#5B542E text on white 7.62:1 AAA Lc 86.5 Fine for body text
#5B542E text on black 2.75:1 Fails Lc -15.6 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCDACC

    oklch(88.6% 0.019 100.2)

  4. Step 300

    300

    #C5C1A9

    oklch(80.8% 0.033 99.3)

  5. Step 400

    400

    #A8A27C

    oklch(70.7% 0.053 100.1)

  6. Step 500

    500

    #938A5A

    oklch(63% 0.067 98.9)

  7. Step 600

    600

    #7E7440

    oklch(55.6% 0.073 98.7)

  8. Step 700

    700

    #6A6131

    oklch(49% 0.068 98.9)

  9. Step 800

    800 (this color)

    #5B542E

    oklch(44.3% 0.056 99.1)

  10. Step 900

    900

    #474226

    oklch(37.7% 0.044 99.4)

  11. Step 950

    950

    #2A2717

    oklch(27.1% 0.028 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#5B542E 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)#5B522B0.006
Deuteranopia (no green cones)#5D55300.005
Tritanopia (no blue cones)#614F4B0.052
Achromatopsia (no color)#5454540.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B542E

    #5B542E

    oklch(44.3% 0.056 99.1)

  • #4C5072

    #4C5072

    oklch(44.2% 0.056 278.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B542E

    #5B542E

    oklch(44.3% 0.056 99.1)

  • #684E30

    #684E30

    oklch(44.4% 0.056 69.5)

  • #4A5A38

    #4A5A38

    oklch(44.4% 0.056 129)

Open the analogous palette in the generator

Split complementary

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

  • #5B542E

    #5B542E

    oklch(44.3% 0.056 99.1)

  • #3A5672

    #3A5672

    oklch(44.3% 0.057 249.2)

  • #5D4B6B

    #5D4B6B

    oklch(44.4% 0.056 309.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B542E

    #5B542E

    oklch(44.3% 0.056 99.1)

  • #2B5B69

    #2B5B69

    oklch(44.4% 0.057 219.4)

  • #68475E

    #68475E

    oklch(44.3% 0.056 338.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B542E

    #5B542E

    oklch(44.3% 0.056 99.1)

  • #295D5A

    #295D5A

    oklch(44.2% 0.056 190.3)

  • #4C5072

    #4C5072

    oklch(44.2% 0.056 278.7)

  • #6F464D

    #6F464D

    oklch(44.3% 0.057 8.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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