#5A571A

Closest named color: Olive Brown (#645403). oklch(44.7% 0.081 106.5), rgb(90, 87, 26).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (45%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.81:1
White text7.46:1

Values

HEX#5A571A
RGBrgb(90, 87, 26)
HSLhsl(57, 55%, 23%)
OKLCHoklch(44.7% 0.081 106.5)

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 #5A571A 7.46:1 AAA Lc -90.7 Preferred for body text
Black text on #5A571A 2.81:1 Fails Lc 18.1 Dividers and decoration only
#5A571A text on white 7.46:1 AAA Lc 85.9 Fine for body text
#5A571A text on black 2.81:1 Fails Lc -16.2 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

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DBDBC7

    oklch(88.6% 0.027 106.9)

  4. Step 300

    300

    #C4C3A0

    oklch(80.9% 0.047 106.1)

  5. Step 400

    400

    #A6A46C

    oklch(70.7% 0.076 106.4)

  6. Step 500

    500

    #918D43

    oklch(63.1% 0.096 106)

  7. Step 600

    600

    #7B7721

    oklch(55.6% 0.105 106.7)

  8. Step 700

    700

    #686412

    oklch(49.2% 0.098 106.6)

  9. Step 800

    800 (this color)

    #5A571A

    oklch(44.7% 0.081 106.5)

  10. Step 900

    900

    #464418

    oklch(37.8% 0.063 106.6)

  11. Step 950

    950

    #29280F

    oklch(27.1% 0.041 106.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A571A 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.011
Deuteranopia (no green cones)#60561E0.012
Tritanopia (no blue cones)#61514B0.074
Achromatopsia (no color)#5555550.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A571A

    #5A571A

    oklch(44.7% 0.081 106.5)

  • #514D7F

    #514D7F

    oklch(44.7% 0.081 286.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A571A

    #5A571A

    oklch(44.7% 0.081 106.5)

  • #6E4E18

    #6E4E18

    oklch(44.8% 0.081 76.6)

  • #3F5F30

    #3F5F30

    oklch(44.8% 0.081 136.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A571A

    #5A571A

    oklch(44.7% 0.081 106.5)

  • #365581

    #365581

    oklch(44.6% 0.082 257.2)

  • #664672

    #664672

    oklch(44.7% 0.08 316.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A571A

    #5A571A

    oklch(44.7% 0.081 106.5)

  • #0F5D77

    #0F5D77

    oklch(44.7% 0.081 226.7)

  • #74415D

    #74415D

    oklch(44.6% 0.08 346.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A571A

    #5A571A

    oklch(44.7% 0.081 106.5)

  • #006162

    #006162

    oklch(44.6% 0.076 196)

  • #514D7F

    #514D7F

    oklch(44.7% 0.081 286.3)

  • #7B4044

    #7B4044

    oklch(44.6% 0.082 16.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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