#5B2F12

Closest named color: Chestnut (#742802). oklch(35.7% 0.076 51.1), rgb(91, 47, 18).

Aa

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

About this color

#5B2F12 is a dark, moderately saturated brown. In OKLCH its lightness is 36%, its chroma 0.076 and its hue 51°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.052 away. White text reads best on it, at 11.28:1.

Hue familyBrowns
Lightnessdark (36%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text1.86:1
White text11.28:1

Values

HEX#5B2F12
RGBrgb(91, 47, 18)
HSLhsl(24, 67%, 21%)
OKLCHoklch(35.7% 0.076 51.1)

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 #5B2F12 11.28:1 AAA Lc -99.5 Preferred for body text
Black text on #5B2F12 1.86:1 Fails Lc 8.2 Not readable
#5B2F12 text on white 11.28:1 AAA Lc 95.7 Preferred for body text
#5B2F12 text on black 1.86: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

    #F3E7E0

    oklch(93.6% 0.016 52.6)

  3. Step 200

    200

    #EBD4C7

    oklch(88.5% 0.031 51.5)

  4. Step 300

    300

    #E0B7A0

    oklch(81% 0.057 50.9)

  5. Step 400

    400

    #CF906B

    oklch(70.7% 0.092 51.2)

  6. Step 500

    500

    #C17343

    oklch(63.1% 0.117 50.9)

  7. Step 600

    600

    #AC5A21

    oklch(55.6% 0.127 51.2)

  8. Step 700

    700

    #944913

    oklch(49.1% 0.119 50.7)

  9. Step 800

    800

    #783D14

    oklch(42.8% 0.097 51.2)

  10. Step 900

    900 (this color)

    #5B2F12

    oklch(35.7% 0.076 51.1)

  11. Step 950

    950

    #391F0F

    oklch(27% 0.048 51.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B2F12 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)#3C340F0.063
Deuteranopia (no green cones)#463E120.058
Tritanopia (no blue cones)#6426290.047
Achromatopsia (no color)#3A3A3A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B2F12

    #5B2F12

    oklch(35.7% 0.076 51.1)

  • #00425B

    #00425B

    oklch(35.6% 0.072 231.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B2F12

    #5B2F12

    oklch(35.7% 0.076 51.1)

  • #5E2A2A

    #5E2A2A

    oklch(35.7% 0.076 21.7)

  • #503700

    #503700

    oklch(35.6% 0.074 80.3)

Open the analogous palette in the generator

Split complementary

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

  • #5B2F12

    #5B2F12

    oklch(35.7% 0.076 51.1)

  • #004649

    #004649

    oklch(35.8% 0.061 199.7)

  • #253C64

    #253C64

    oklch(35.8% 0.076 260.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B2F12

    #5B2F12

    oklch(35.7% 0.076 51.1)

  • #004837

    #004837

    oklch(35.7% 0.07 170.4)

  • #3D3461

    #3D3461

    oklch(35.7% 0.077 291.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B2F12

    #5B2F12

    oklch(35.7% 0.076 51.1)

  • #24461E

    #24461E

    oklch(35.7% 0.077 140.7)

  • #00425B

    #00425B

    oklch(35.6% 0.072 231.7)

  • #4E2E54

    #4E2E54

    oklch(35.7% 0.075 321.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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