#5F2F17

Closest named color: Chestnut (#742802). oklch(36.4% 0.078 45.6), rgb(95, 47, 23).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (36%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text1.90:1
White text11.02:1

Values

HEX#5F2F17
RGBrgb(95, 47, 23)
HSLhsl(20, 61%, 23%)
OKLCHoklch(36.4% 0.078 45.6)

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 #5F2F17 11.02:1 AAA Lc -99.0 Preferred for body text
Black text on #5F2F17 1.90:1 Fails Lc 8.8 Not readable
#5F2F17 text on white 11.02:1 AAA Lc 95.1 Preferred for body text
#5F2F17 text on black 1.90:1 Fails Lc -7.5 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

    #F4E7E1

    oklch(93.7% 0.016 46.6)

  3. Step 200

    200

    #EDD3C8

    oklch(88.5% 0.033 44.3)

  4. Step 300

    300

    #E2B5A1

    oklch(80.8% 0.059 45.2)

  5. Step 400

    400

    #D28E6E

    oklch(70.7% 0.094 46)

  6. Step 500

    500

    #C47047

    oklch(63.1% 0.12 45.8)

  7. Step 600

    600

    #B05628

    oklch(55.6% 0.131 45.3)

  8. Step 700

    700

    #97461A

    oklch(49.1% 0.122 45.7)

  9. Step 800

    800

    #7A3A19

    oklch(42.6% 0.1 45.5)

  10. Step 900

    900 (this color)

    #5F2F17

    oklch(36.4% 0.078 45.6)

  11. Step 950

    950

    #3A1E10

    oklch(27% 0.05 46.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F2F17 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)#3C36140.072
Deuteranopia (no green cones)#4840160.064
Tritanopia (no blue cones)#69252A0.045
Achromatopsia (no color)#3C3C3C0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F2F17

    #5F2F17

    oklch(36.4% 0.078 45.6)

  • #00455A

    #00455A

    oklch(36.4% 0.07 226.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F2F17

    #5F2F17

    oklch(36.4% 0.078 45.6)

  • #612B30

    #612B30

    oklch(36.5% 0.078 16)

  • #553700

    #553700

    oklch(36.3% 0.077 75.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F2F17

    #5F2F17

    oklch(36.4% 0.078 45.6)

  • #004849

    #004849

    oklch(36.4% 0.062 196.4)

  • #203F66

    #203F66

    oklch(36.4% 0.077 255.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F2F17

    #5F2F17

    oklch(36.4% 0.078 45.6)

  • #004A34

    #004A34

    oklch(36.3% 0.076 165.5)

  • #3B3765

    #3B3765

    oklch(36.4% 0.078 285.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F2F17

    #5F2F17

    oklch(36.4% 0.078 45.6)

  • #2A471A

    #2A471A

    oklch(36.3% 0.079 135.8)

  • #00455A

    #00455A

    oklch(36.4% 0.07 226.2)

  • #4E305A

    #4E305A

    oklch(36.4% 0.079 315.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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