#5F331B

Closest named color: Chestnut (#742802). oklch(37.2% 0.073 47.9), rgb(95, 51, 27).

Aa

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

About this color

#5F331B is a dark, moderately saturated brown. In OKLCH its lightness is 37%, its chroma 0.073 and its hue 48°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.046 away. White text reads best on it, at 10.62:1.

Hue familyBrowns
Lightnessdark (37%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text1.97:1
White text10.62:1

Values

HEX#5F331B
RGBrgb(95, 51, 27)
HSLhsl(21, 56%, 24%)
OKLCHoklch(37.2% 0.073 47.9)

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 #5F331B 10.62:1 AAA Lc -98.3 Preferred for body text
Black text on #5F331B 1.97:1 Fails Lc 9.5 Not readable
#5F331B text on white 10.62:1 AAA Lc 94.4 Preferred for body text
#5F331B text on black 1.97:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #FAF4F1

    oklch(97.1% 0.008 48.7)

  2. Step 100

    100

    #F3E7E1

    oklch(93.6% 0.015 48.6)

  3. Step 200

    200

    #EBD4C8

    oklch(88.6% 0.03 49.4)

  4. Step 300

    300

    #DFB7A2

    oklch(80.9% 0.055 49.2)

  5. Step 400

    400

    #CE9070

    oklch(70.7% 0.088 48.2)

  6. Step 500

    500

    #C0734A

    oklch(63.1% 0.112 47.9)

  7. Step 600

    600

    #AB5A2C

    oklch(55.6% 0.121 47.9)

  8. Step 700

    700

    #93491E

    oklch(49.1% 0.114 47.7)

  9. Step 800

    800

    #773D1B

    oklch(42.7% 0.093 48.5)

  10. Step 900

    900 (this color)

    #5F331B

    oklch(37.2% 0.073 47.9)

  11. Step 950

    950

    #391F11

    oklch(27% 0.047 48.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F331B 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)#3F38190.064
Deuteranopia (no green cones)#4A421B0.057
Tritanopia (no blue cones)#682A2D0.043
Achromatopsia (no color)#3E3E3E0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F331B

    #5F331B

    oklch(37.2% 0.073 47.9)

  • #00475E

    #00475E

    oklch(37.2% 0.072 227.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F331B

    #5F331B

    oklch(37.2% 0.073 47.9)

  • #612F31

    #612F31

    oklch(37.2% 0.072 18.7)

  • #553B07

    #553B07

    oklch(37.3% 0.073 78.8)

Open the analogous palette in the generator

Split complementary

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

  • #5F331B

    #5F331B

    oklch(37.2% 0.073 47.9)

  • #004A4C

    #004A4C

    oklch(37.1% 0.063 197.9)

  • #274066

    #274066

    oklch(37.1% 0.073 258.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F331B

    #5F331B

    oklch(37.2% 0.073 47.9)

  • #054C39

    #054C39

    oklch(37.1% 0.072 168.6)

  • #3F3965

    #3F3965

    oklch(37.2% 0.074 288.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F331B

    #5F331B

    oklch(37.2% 0.073 47.9)

  • #2C4921

    #2C4921

    oklch(37.1% 0.073 137.7)

  • #00475E

    #00475E

    oklch(37.2% 0.072 227.9)

  • #503359

    #503359

    oklch(37.2% 0.073 317.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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