#5B5942

Closest named color: Olive Brown (#645403). oklch(45.9% 0.035 103.5), rgb(91, 89, 66).

Aa

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

About this color

#5B5942 is a medium-dark, muted brown. In OKLCH its lightness is 46%, its chroma 0.035 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.057 away. White text reads best on it, at 7.11:1.

Hue familyBrowns
Lightnessmedium-dark (46%)
Chromamuted (0.035)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.95:1
White text7.11:1

Values

HEX#5B5942
RGBrgb(91, 89, 66)
HSLhsl(55, 16%, 31%)
OKLCHoklch(45.9% 0.035 103.5)

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 #5B5942 7.11:1 AAA Lc -89.6 Fine for body text
Black text on #5B5942 2.95:1 Fails Lc 19.3 Dividers and decoration only
#5B5942 text on white 7.11:1 AAA Lc 84.7 Fine for body text
#5B5942 text on black 2.95:1 Fails Lc -17.3 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 700.

  1. Step 50

    50

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #DAD9D2

    oklch(88.4% 0.01 100)

  4. Step 300

    300

    #C2C1B5

    oklch(80.8% 0.017 102.9)

  5. Step 400

    400

    #A3A28E

    oklch(70.7% 0.028 104.8)

  6. Step 500

    500

    #8D8B73

    oklch(63.2% 0.035 103.4)

  7. Step 600

    600

    #77755B

    oklch(55.7% 0.038 103.9)

  8. Step 700

    700 (this color)

    #5B5942

    oklch(45.9% 0.035 103.5)

  9. Step 800

    800

    #52503D

    oklch(42.8% 0.03 102.6)

  10. Step 900

    900

    #434234

    oklch(37.6% 0.023 104.1)

  11. Step 950

    950

    #27271F

    oklch(27% 0.014 107.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B5942 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)#5D57410.006
Deuteranopia (no green cones)#5E59430.005
Tritanopia (no blue cones)#5F56530.032
Achromatopsia (no color)#5858580.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5942

    #5B5942

    oklch(45.9% 0.035 103.5)

  • #55566B

    #55566B

    oklch(46% 0.034 282.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5942

    #5B5942

    oklch(45.9% 0.035 103.5)

  • #645542

    #645542

    oklch(45.9% 0.035 73.3)

  • #505C48

    #505C48

    oklch(45.8% 0.035 133)

Open the analogous palette in the generator

Split complementary

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

  • #5B5942

    #5B5942

    oklch(45.9% 0.035 103.5)

  • #4A596C

    #4A596C

    oklch(45.9% 0.036 254.5)

  • #5F5266

    #5F5266

    oklch(45.9% 0.036 313.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5942

    #5B5942

    oklch(45.9% 0.035 103.5)

  • #425C67

    #425C67

    oklch(45.8% 0.036 226)

  • #67505D

    #67505D

    oklch(45.9% 0.036 343.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5942

    #5B5942

    oklch(45.9% 0.035 103.5)

  • #405E5D

    #405E5D

    oklch(45.8% 0.035 193.4)

  • #55566B

    #55566B

    oklch(46% 0.034 282.8)

  • #6A5052

    #6A5052

    oklch(45.9% 0.035 13.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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