#5F571D

Closest named color: Olive Brown (#645403). oklch(45.2% 0.078 101.4), rgb(95, 87, 29).

Aa

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

About this color

#5F571D is a medium-dark, moderately saturated brown. In OKLCH its lightness is 45%, its chroma 0.078 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.016 away. White text reads best on it, at 7.32:1.

Hue familyBrowns
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.86:1
White text7.32:1

Values

HEX#5F571D
RGBrgb(95, 87, 29)
HSLhsl(53, 53%, 24%)
OKLCHoklch(45.2% 0.078 101.4)

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 #5F571D 7.32:1 AAA Lc -90.2 Preferred for body text
Black text on #5F571D 2.86:1 Fails Lc 18.7 Dividers and decoration only
#5F571D text on white 7.32:1 AAA Lc 85.4 Fine for body text
#5F571D text on black 2.86:1 Fails Lc -16.7 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC7

    oklch(88.5% 0.026 102)

  4. Step 300

    300

    #C6C2A1

    oklch(80.9% 0.045 101.6)

  5. Step 400

    400

    #AAA26D

    oklch(70.6% 0.072 100.7)

  6. Step 500

    500

    #958B44

    oklch(63% 0.093 101.4)

  7. Step 600

    600

    #807523

    oklch(55.7% 0.101 101.5)

  8. Step 700

    700

    #6C6214

    oklch(49.1% 0.094 101.6)

  9. Step 800

    800 (this color)

    #5F571D

    oklch(45.2% 0.078 101.4)

  10. Step 900

    900

    #484219

    oklch(37.5% 0.06 101.1)

  11. Step 950

    950

    #2A2710

    oklch(27% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F571D 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)#5F54160.009
Deuteranopia (no green cones)#6258200.007
Tritanopia (no blue cones)#66514B0.071
Achromatopsia (no color)#5656560.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F571D

    #5F571D

    oklch(45.2% 0.078 101.4)

  • #4F5080

    #4F5080

    oklch(45.2% 0.078 281.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F571D

    #5F571D

    oklch(45.2% 0.078 101.4)

  • #714E1F

    #714E1F

    oklch(45.3% 0.078 71.3)

  • #465F2F

    #465F2F

    oklch(45.3% 0.078 131.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F571D

    #5F571D

    oklch(45.2% 0.078 101.4)

  • #335880

    #335880

    oklch(45.2% 0.079 251.6)

  • #644976

    #644976

    oklch(45.3% 0.078 311)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F571D

    #5F571D

    oklch(45.2% 0.078 101.4)

  • #105F74

    #105F74

    oklch(45.1% 0.078 221.2)

  • #734462

    #734462

    oklch(45.2% 0.077 341.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F571D

    #5F571D

    oklch(45.2% 0.078 101.4)

  • #006360

    #006360

    oklch(45.1% 0.078 191.1)

  • #4F5080

    #4F5080

    oklch(45.2% 0.078 281.9)

  • #7B434B

    #7B434B

    oklch(45.3% 0.078 11.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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