#5F571A

Closest named color: Olive Brown (#645403). oklch(45.2% 0.08 101.8), rgb(95, 87, 26).

Aa

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

About this color

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

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

Values

HEX#5F571A
RGBrgb(95, 87, 26)
HSLhsl(53, 57%, 24%)
OKLCHoklch(45.2% 0.08 101.8)

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 #5F571A 7.33:1 AAA Lc -90.3 Preferred for body text
Black text on #5F571A 2.86:1 Fails Lc 18.6 Dividers and decoration only
#5F571A text on white 7.33:1 AAA Lc 85.4 Fine for body text
#5F571A text on black 2.86:1 Fails Lc -16.6 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

    #C6C2A0

    oklch(80.8% 0.046 101.8)

  5. Step 400

    400

    #AAA36B

    oklch(70.8% 0.076 102)

  6. Step 500

    500

    #958B41

    oklch(63% 0.096 101.7)

  7. Step 600

    600

    #80751E

    oklch(55.6% 0.105 101.9)

  8. Step 700

    700

    #6C620F

    oklch(49.1% 0.097 101.9)

  9. Step 800

    800 (this color)

    #5F571A

    oklch(45.2% 0.08 101.8)

  10. Step 900

    900

    #484317

    oklch(37.8% 0.063 102.8)

  11. Step 950

    950

    #2A270F

    oklch(26.9% 0.039 102.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F571A 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)#5F54120.009
Deuteranopia (no green cones)#62581E0.007
Tritanopia (no blue cones)#67514B0.074
Achromatopsia (no color)#5656560.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F571A

    #5F571A

    oklch(45.2% 0.08 101.8)

  • #4F5081

    #4F5081

    oklch(45.3% 0.079 281.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F571A

    #5F571A

    oklch(45.2% 0.08 101.8)

  • #714E1C

    #714E1C

    oklch(45.2% 0.08 72.6)

  • #455F2E

    #455F2E

    oklch(45.2% 0.08 131.9)

Open the analogous palette in the generator

Split complementary

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

  • #5F571A

    #5F571A

    oklch(45.2% 0.08 101.8)

  • #325881

    #325881

    oklch(45.2% 0.08 251.7)

  • #654876

    #654876

    oklch(45.2% 0.081 312.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F571A

    #5F571A

    oklch(45.2% 0.08 101.8)

  • #0A5F76

    #0A5F76

    oklch(45.1% 0.081 222.7)

  • #744362

    #744362

    oklch(45.2% 0.08 342.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F571A

    #5F571A

    oklch(45.2% 0.08 101.8)

  • #006361

    #006361

    oklch(45.2% 0.077 192.3)

  • #4F5081

    #4F5081

    oklch(45.3% 0.079 281.8)

  • #7C424A

    #7C424A

    oklch(45.3% 0.08 12)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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