#5A4E40

Closest named color: Mud Brown (#60460F). oklch(43.2% 0.027 71.3), rgb(90, 78, 64).

Aa

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

About this color

#5A4E40 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Mud Brown (#60460F), ΔE 0.054 away. White text reads best on it, at 8.08:1.

Hue familyNeutrals
Lightnessdark (43%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameMud Brown (#60460F)
Black text2.59:1
White text8.08:1

Values

HEX#5A4E40
RGBrgb(90, 78, 64)
HSLhsl(32, 17%, 30%)
OKLCHoklch(43.2% 0.027 71.3)

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 #5A4E40 8.08:1 AAA Lc -92.6 Preferred for body text
Black text on #5A4E40 2.59:1 Fails Lc 16.0 Dividers and decoration only
#5A4E40 text on white 8.08:1 AAA Lc 88.0 Fine for body text
#5A4E40 text on black 2.59:1 Fails Lc -14.2 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 800.

  1. Step 50

    50

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #ECE9E6

    oklch(93.6% 0.005 67.8)

  3. Step 200

    200

    #DDD8D3

    oklch(88.5% 0.009 67.7)

  4. Step 300

    300

    #C7BFB6

    oklch(80.9% 0.015 70.9)

  5. Step 400

    400

    #AB9E90

    oklch(70.6% 0.025 69.5)

  6. Step 500

    500

    #968774

    oklch(63.2% 0.033 73.7)

  7. Step 600

    600

    #81705D

    oklch(55.6% 0.035 70.1)

  8. Step 700

    700

    #6D5E4C

    oklch(49.1% 0.034 72)

  9. Step 800

    800 (this color)

    #5A4E40

    oklch(43.2% 0.027 71.3)

  10. Step 900

    900

    #494035

    oklch(37.7% 0.022 72.6)

  11. Step 950

    950

    #2B251F

    oklch(26.9% 0.014 67.2)

Export this scale for Tailwind in the Tailwind colors tool

#5A4E40 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)#524E3F0.014
Deuteranopia (no green cones)#5551400.012
Tritanopia (no blue cones)#5F4B4A0.023
Achromatopsia (no color)#5050500.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A4E40

    #5A4E40

    oklch(43.2% 0.027 71.3)

  • #45525F

    #45525F

    oklch(43.2% 0.027 248.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A4E40

    #5A4E40

    oklch(43.2% 0.027 71.3)

  • #5E4C45

    #5E4C45

    oklch(43.3% 0.027 42.3)

  • #535140

    #535140

    oklch(43.2% 0.027 101.9)

Open the analogous palette in the generator

Split complementary

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

  • #5A4E40

    #5A4E40

    oklch(43.2% 0.027 71.3)

  • #40545B

    #40545B

    oklch(43.2% 0.027 221.3)

  • #4D4F5F

    #4D4F5F

    oklch(43.2% 0.026 279.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A4E40

    #5A4E40

    oklch(43.2% 0.027 71.3)

  • #3F5554

    #3F5554

    oklch(43.1% 0.027 192.7)

  • #554C5C

    #554C5C

    oklch(43.1% 0.028 310.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A4E40

    #5A4E40

    oklch(43.2% 0.027 71.3)

  • #43554B

    #43554B

    oklch(43.1% 0.028 160.7)

  • #45525F

    #45525F

    oklch(43.2% 0.027 248.5)

  • #5B4B55

    #5B4B55

    oklch(43.3% 0.027 340.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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