#5B5931

Closest named color: Olive Brown (#645403). oklch(45.6% 0.059 106), rgb(91, 89, 49).

Aa

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

About this color

#5B5931 is a medium-dark, muted brown. In OKLCH its lightness is 46%, its chroma 0.059 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.035 away. White text reads best on it, at 7.19:1.

Hue familyBrowns
Lightnessmedium-dark (46%)
Chromamuted (0.059)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.91:1
White text7.19:1

Values

HEX#5B5931
RGBrgb(91, 89, 49)
HSLhsl(57, 30%, 27%)
OKLCHoklch(45.6% 0.059 106)

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 #5B5931 7.19:1 AAA Lc -89.9 Fine for body text
Black text on #5B5931 2.91:1 Fails Lc 19.1 Dividers and decoration only
#5B5931 text on white 7.19:1 AAA Lc 85.0 Fine for body text
#5B5931 text on black 2.91:1 Fails Lc -17.0 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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACC

    oklch(88.5% 0.019 106.8)

  4. Step 300

    300

    #C3C2A9

    oklch(80.8% 0.034 105.3)

  5. Step 400

    400

    #A5A37B

    oklch(70.7% 0.055 105.3)

  6. Step 500

    500

    #8F8C5A

    oklch(63% 0.069 105.3)

  7. Step 600

    600

    #79763F

    oklch(55.6% 0.076 105.9)

  8. Step 700

    700

    #666331

    oklch(49.1% 0.07 105.6)

  9. Step 800

    800 (this color)

    #5B5931

    oklch(45.6% 0.059 106)

  10. Step 900

    900

    #454326

    oklch(37.7% 0.045 104.9)

  11. Step 950

    950

    #282717

    oklch(26.9% 0.028 105.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B5931 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)#5F562E0.010
Deuteranopia (no green cones)#6058330.010
Tritanopia (no blue cones)#60544F0.053
Achromatopsia (no color)#5757570.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5931

    #5B5931

    oklch(45.6% 0.059 106)

  • #545276

    #545276

    oklch(45.6% 0.058 286.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5931

    #5B5931

    oklch(45.6% 0.059 106)

  • #6A5230

    #6A5230

    oklch(45.5% 0.059 75)

  • #485E3D

    #485E3D

    oklch(45.4% 0.058 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B5931

    #5B5931

    oklch(45.6% 0.059 106)

  • #415877

    #415877

    oklch(45.5% 0.058 256.1)

  • #644D6D

    #644D6D

    oklch(45.6% 0.058 316.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5931

    #5B5931

    oklch(45.6% 0.059 106)

  • #2F5E70

    #2F5E70

    oklch(45.7% 0.059 225.4)

  • #6F495E

    #6F495E

    oklch(45.5% 0.06 345.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5931

    #5B5931

    oklch(45.6% 0.059 106)

  • #296161

    #296161

    oklch(45.6% 0.059 195.3)

  • #545276

    #545276

    oklch(45.6% 0.058 286.4)

  • #74494C

    #74494C

    oklch(45.5% 0.059 15.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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