#5F331A

Closest named color: Chestnut (#742802). oklch(37.2% 0.074 48.7), rgb(95, 51, 26).

Aa

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

About this color

#5F331A is a dark, moderately saturated brown. In OKLCH its lightness is 37%, its chroma 0.074 and its hue 49°. 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.63:1.

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

Values

HEX#5F331A
RGBrgb(95, 51, 26)
HSLhsl(22, 57%, 24%)
OKLCHoklch(37.2% 0.074 48.7)

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 #5F331A 10.63:1 AAA Lc -98.3 Preferred for body text
Black text on #5F331A 1.97:1 Fails Lc 9.5 Not readable
#5F331A text on white 10.63:1 AAA Lc 94.4 Preferred for body text
#5F331A 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

    #CE906F

    oklch(70.7% 0.088 48.9)

  6. Step 500

    500

    #C07349

    oklch(63.1% 0.113 48.4)

  7. Step 600

    600

    #AB5A2A

    oklch(55.5% 0.122 48.6)

  8. Step 700

    700

    #93491C

    oklch(49% 0.115 48.4)

  9. Step 800

    800

    #773D1A

    oklch(42.7% 0.094 49)

  10. Step 900

    900 (this color)

    #5F331A

    oklch(37.2% 0.074 48.7)

  11. Step 950

    950

    #391F11

    oklch(27% 0.047 48.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F331A 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)#3F38170.064
Deuteranopia (no green cones)#4A421A0.057
Tritanopia (no blue cones)#682A2D0.044
Achromatopsia (no color)#3E3E3E0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F331A

    #5F331A

    oklch(37.2% 0.074 48.7)

  • #00475F

    #00475F

    oklch(37.2% 0.073 229)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F331A

    #5F331A

    oklch(37.2% 0.074 48.7)

  • #612F31

    #612F31

    oklch(37.2% 0.072 18.7)

  • #553B06

    #553B06

    oklch(37.3% 0.074 79.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F331A

    #5F331A

    oklch(37.2% 0.074 48.7)

  • #004A4D

    #004A4D

    oklch(37.2% 0.063 199.5)

  • #274067

    #274067

    oklch(37.1% 0.074 259)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F331A

    #5F331A

    oklch(37.2% 0.074 48.7)

  • #024C39

    #024C39

    oklch(37.1% 0.073 168.9)

  • #3F3965

    #3F3965

    oklch(37.2% 0.074 288.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F331A

    #5F331A

    oklch(37.2% 0.074 48.7)

  • #2B4922

    #2B4922

    oklch(37.1% 0.073 138.8)

  • #00475F

    #00475F

    oklch(37.2% 0.073 229)

  • #513359

    #513359

    oklch(37.3% 0.073 319)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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