#5B2A18

Closest named color: Chestnut (#742802). oklch(34.8% 0.078 40.3), rgb(91, 42, 24).

Aa

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

About this color

#5B2A18 is a dark, moderately saturated brown. In OKLCH its lightness is 35%, its chroma 0.078 and its hue 40°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.054 away. White text reads best on it, at 11.73:1.

Hue familyBrowns
Lightnessdark (35%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text1.78:1
White text11.73:1

Values

HEX#5B2A18
RGBrgb(91, 42, 24)
HSLhsl(16, 58%, 23%)
OKLCHoklch(34.8% 0.078 40.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 #5B2A18 11.73:1 AAA Lc -100.2 Preferred for body text
Black text on #5B2A18 1.78:1 Fails Lc 7.3 Not readable
#5B2A18 text on white 11.73:1 AAA Lc 96.6 Preferred for body text
#5B2A18 text on black 1.78:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #FAF4F1

    oklch(97.1% 0.008 48.7)

  2. Step 100

    100

    #F5E6E1

    oklch(93.5% 0.018 39.4)

  3. Step 200

    200

    #EDD3C9

    oklch(88.6% 0.032 42.2)

  4. Step 300

    300

    #E3B5A4

    oklch(81% 0.059 41.3)

  5. Step 400

    400

    #D38D74

    oklch(70.8% 0.093 40.4)

  6. Step 500

    500

    #C56E4F

    oklch(63% 0.119 40.2)

  7. Step 600

    600

    #B15533

    oklch(55.7% 0.129 40.3)

  8. Step 700

    700

    #984425

    oklch(49.1% 0.121 40)

  9. Step 800

    800

    #7B3920

    oklch(42.7% 0.099 40.6)

  10. Step 900

    900 (this color)

    #5B2A18

    oklch(34.8% 0.078 40.3)

  11. Step 950

    950

    #3A1D13

    oklch(26.8% 0.049 39.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B2A18 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)#3731160.074
Deuteranopia (no green cones)#433C170.068
Tritanopia (no blue cones)#6420260.039
Achromatopsia (no color)#3838380.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B2A18

    #5B2A18

    oklch(34.8% 0.078 40.3)

  • #004151

    #004151

    oklch(34.7% 0.064 220.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B2A18

    #5B2A18

    oklch(34.8% 0.078 40.3)

  • #5B2730

    #5B2730

    oklch(34.8% 0.077 11.1)

  • #523200

    #523200

    oklch(34.8% 0.075 70.9)

Open the analogous palette in the generator

Split complementary

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

  • #5B2A18

    #5B2A18

    oklch(34.8% 0.078 40.3)

  • #004441

    #004441

    oklch(34.9% 0.06 189.8)

  • #163C61

    #163C61

    oklch(34.9% 0.078 250.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B2A18

    #5B2A18

    oklch(34.8% 0.078 40.3)

  • #01462C

    #01462C

    oklch(34.8% 0.078 160.5)

  • #333461

    #333461

    oklch(34.8% 0.077 280.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B2A18

    #5B2A18

    oklch(34.8% 0.078 40.3)

  • #2C4211

    #2C4211

    oklch(34.9% 0.078 130.3)

  • #004151

    #004151

    oklch(34.7% 0.064 220.9)

  • #472D58

    #472D58

    oklch(34.8% 0.079 310.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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