#5A531B

Closest named color: Olive Brown (#645403). oklch(43.7% 0.076 102.2), rgb(90, 83, 27).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (44%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.68:1
White text7.81:1

Values

HEX#5A531B
RGBrgb(90, 83, 27)
HSLhsl(53, 54%, 23%)
OKLCHoklch(43.7% 0.076 102.2)

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 #5A531B 7.81:1 AAA Lc -91.8 Preferred for body text
Black text on #5A531B 2.68:1 Fails Lc 17.0 Dividers and decoration only
#5A531B text on white 7.81:1 AAA Lc 87.1 Fine for body text
#5A531B text on black 2.68:1 Fails Lc -15.1 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

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC8

    oklch(88.5% 0.024 101.7)

  4. Step 300

    300

    #C6C2A2

    oklch(80.9% 0.044 101.4)

  5. Step 400

    400

    #A9A36F

    oklch(70.8% 0.071 102.4)

  6. Step 500

    500

    #948C47

    oklch(63.2% 0.091 102.7)

  7. Step 600

    600

    #7F7527

    oklch(55.6% 0.098 101.9)

  8. Step 700

    700

    #6B6219

    oklch(49% 0.091 102.1)

  9. Step 800

    800 (this color)

    #5A531B

    oklch(43.7% 0.076 102.2)

  10. Step 900

    900

    #48431A

    oklch(37.8% 0.06 102.4)

  11. Step 950

    950

    #2A2710

    oklch(27% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A531B 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)#5B50140.009
Deuteranopia (no green cones)#5D531E0.006
Tritanopia (no blue cones)#614D470.069
Achromatopsia (no color)#5252520.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A531B

    #5A531B

    oklch(43.7% 0.076 102.2)

  • #4B4C7A

    #4B4C7A

    oklch(43.7% 0.075 281.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A531B

    #5A531B

    oklch(43.7% 0.076 102.2)

  • #6B4A1C

    #6B4A1C

    oklch(43.6% 0.076 72.2)

  • #425A2D

    #425A2D

    oklch(43.6% 0.075 131.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A531B

    #5A531B

    oklch(43.7% 0.076 102.2)

  • #31547A

    #31547A

    oklch(43.7% 0.075 251.7)

  • #604570

    #604570

    oklch(43.7% 0.076 312.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A531B

    #5A531B

    oklch(43.7% 0.076 102.2)

  • #0F5B70

    #0F5B70

    oklch(43.8% 0.076 222.1)

  • #6E405D

    #6E405D

    oklch(43.6% 0.076 342.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A531B

    #5A531B

    oklch(43.7% 0.076 102.2)

  • #005E5C

    #005E5C

    oklch(43.6% 0.075 192.2)

  • #4B4C7A

    #4B4C7A

    oklch(43.7% 0.075 281.9)

  • #753F46

    #753F46

    oklch(43.6% 0.075 12.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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