#5A4C40

Closest named color: Mud Brown (#60460F). oklch(42.7% 0.027 62.6), rgb(90, 76, 64).

Aa

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

About this color

#5A4C40 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.25:1.

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

Values

HEX#5A4C40
RGBrgb(90, 76, 64)
HSLhsl(28, 17%, 30%)
OKLCHoklch(42.7% 0.027 62.6)

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 #5A4C40 8.25:1 AAA Lc -93.1 Preferred for body text
Black text on #5A4C40 2.54:1 Fails Lc 15.5 Dividers and decoration only
#5A4C40 text on white 8.25:1 AAA Lc 88.5 Fine for body text
#5A4C40 text on black 2.54:1 Fails Lc -13.6 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

    #ECE9E7

    oklch(93.6% 0.004 56.4)

  3. Step 200

    200

    #DDD8D3

    oklch(88.5% 0.009 67.7)

  4. Step 300

    300

    #C8BFB6

    oklch(80.9% 0.016 67.6)

  5. Step 400

    400

    #AC9E91

    oklch(70.8% 0.025 65.3)

  6. Step 500

    500

    #988676

    oklch(63.2% 0.032 63.8)

  7. Step 600

    600

    #836F5F

    oklch(55.6% 0.035 60.7)

  8. Step 700

    700

    #6E5D4E

    oklch(49.1% 0.032 63.4)

  9. Step 800

    800 (this color)

    #5A4C40

    oklch(42.7% 0.027 62.6)

  10. Step 900

    900

    #4A3F36

    oklch(37.6% 0.021 61.4)

  11. Step 950

    950

    #2B2520

    oklch(26.9% 0.013 62.1)

Export this scale for Tailwind in the Tailwind colors tool

#5A4C40 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)#504D3F0.017
Deuteranopia (no green cones)#5450400.015
Tritanopia (no blue cones)#5F49490.022
Achromatopsia (no color)#4E4E4E0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A4C40

    #5A4C40

    oklch(42.7% 0.027 62.6)

  • #42515D

    #42515D

    oklch(42.7% 0.028 242.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A4C40

    #5A4C40

    oklch(42.7% 0.027 62.6)

  • #5D4A46

    #5D4A46

    oklch(42.8% 0.027 32)

  • #544F3E

    #544F3E

    oklch(42.7% 0.028 93.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A4C40

    #5A4C40

    oklch(42.7% 0.027 62.6)

  • #3E5358

    #3E5358

    oklch(42.7% 0.027 213.9)

  • #4A4E5E

    #4A4E5E

    oklch(42.6% 0.027 274.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A4C40

    #5A4C40

    oklch(42.7% 0.027 62.6)

  • #3F5450

    #3F5450

    oklch(42.7% 0.027 182)

  • #524C5C

    #524C5C

    oklch(42.8% 0.027 302.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A4C40

    #5A4C40

    oklch(42.7% 0.027 62.6)

  • #445348

    #445348

    oklch(42.6% 0.026 153.4)

  • #42515D

    #42515D

    oklch(42.7% 0.028 242.5)

  • #584A55

    #584A55

    oklch(42.7% 0.026 333.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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