#5B5948

Closest named color: Slate (#516572). oklch(46.1% 0.027 101.8), rgb(91, 89, 72).

Aa

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

About this color

#5B5948 is a medium-dark close to neutral grey. In OKLCH its lightness is 46%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Slate (#516572), ΔE 0.064 away. White text reads best on it, at 7.07:1.

Hue familyNeutrals
Lightnessmedium-dark (46%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameSlate (#516572)
Black text2.96:1
White text7.07:1

Values

HEX#5B5948
RGBrgb(91, 89, 72)
HSLhsl(54, 12%, 32%)
OKLCHoklch(46.1% 0.027 101.8)

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 #5B5948 7.07:1 AAA Lc -89.5 Fine for body text
Black text on #5B5948 2.96:1 Fails Lc 19.5 Dividers and decoration only
#5B5948 text on white 7.07:1 AAA Lc 84.6 Fine for body text
#5B5948 text on black 2.96:1 Fails Lc -17.4 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

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE7

    oklch(93.6% 0.004 106.5)

  3. Step 200

    200

    #DAD9D4

    oklch(88.5% 0.007 97.4)

  4. Step 300

    300

    #C2C1B8

    oklch(80.9% 0.012 101.5)

  5. Step 400

    400

    #A3A193

    oklch(70.7% 0.02 100.3)

  6. Step 500

    500

    #8C8A78

    oklch(63% 0.026 101.9)

  7. Step 600

    600

    #767461

    oklch(55.5% 0.028 102.3)

  8. Step 700

    700 (this color)

    #5B5948

    oklch(46.1% 0.027 101.8)

  9. Step 800

    800

    #515042

    oklch(42.8% 0.022 103.9)

  10. Step 900

    900

    #434238

    oklch(37.7% 0.017 102.5)

  11. Step 950

    950

    #272721

    oklch(27.1% 0.011 107.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B5948 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)#5C58470.003
Deuteranopia (no green cones)#5D59490.004
Tritanopia (no blue cones)#5E57540.023
Achromatopsia (no color)#5858580.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5948

    #5B5948

    oklch(46.1% 0.027 101.8)

  • #555767

    #555767

    oklch(46.1% 0.026 279.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5948

    #5B5948

    oklch(46.1% 0.027 101.8)

  • #625648

    #625648

    oklch(46.1% 0.027 71.4)

  • #535C4C

    #535C4C

    oklch(46.2% 0.028 131.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B5948

    #5B5948

    oklch(46.1% 0.027 101.8)

  • #4E5A67

    #4E5A67

    oklch(46.2% 0.026 250.5)

  • #5D5463

    #5D5463

    oklch(46% 0.026 311.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5948

    #5B5948

    oklch(46.1% 0.027 101.8)

  • #485C63

    #485C63

    oklch(46.1% 0.027 221.2)

  • #63535C

    #63535C

    oklch(46.1% 0.025 343.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5948

    #5B5948

    oklch(46.1% 0.027 101.8)

  • #475D5C

    #475D5C

    oklch(46% 0.027 192.8)

  • #555767

    #555767

    oklch(46.1% 0.026 279.7)

  • #665254

    #665254

    oklch(46% 0.027 11.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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