#5F541B

Closest named color: Olive Brown (#645403). oklch(44.5% 0.077 98.2), rgb(95, 84, 27).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (44%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.77:1
White text7.57:1

Values

HEX#5F541B
RGBrgb(95, 84, 27)
HSLhsl(50, 56%, 24%)
OKLCHoklch(44.5% 0.077 98.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 #5F541B 7.57:1 AAA Lc -91.1 Preferred for body text
Black text on #5F541B 2.77:1 Fails Lc 17.8 Dividers and decoration only
#5F541B text on white 7.57:1 AAA Lc 86.3 Fine for body text
#5F541B text on black 2.77:1 Fails Lc -15.8 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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C8C1A1

    oklch(80.8% 0.044 97)

  5. Step 400

    400

    #ACA26D

    oklch(70.8% 0.072 98.8)

  6. Step 500

    500

    #988A45

    oklch(63.1% 0.091 98.1)

  7. Step 600

    600

    #837323

    oklch(55.5% 0.1 97.6)

  8. Step 700

    700

    #6F6115

    oklch(49.2% 0.093 98.2)

  9. Step 800

    800 (this color)

    #5F541B

    oklch(44.5% 0.077 98.2)

  10. Step 900

    900

    #4A4219

    oklch(37.8% 0.06 98.4)

  11. Step 950

    950

    #2B2710

    oklch(27.1% 0.038 99.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F541B 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)#5D52140.008
Deuteranopia (no green cones)#60561E0.006
Tritanopia (no blue cones)#674D480.071
Achromatopsia (no color)#5454540.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F541B

    #5F541B

    oklch(44.5% 0.077 98.2)

  • #4A4F7E

    #4A4F7E

    oklch(44.5% 0.077 278.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F541B

    #5F541B

    oklch(44.5% 0.077 98.2)

  • #704B1F

    #704B1F

    oklch(44.5% 0.078 68)

  • #475C2B

    #475C2B

    oklch(44.5% 0.078 128.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F541B

    #5F541B

    oklch(44.5% 0.077 98.2)

  • #2F577C

    #2F577C

    oklch(44.5% 0.076 248.2)

  • #604874

    #604874

    oklch(44.5% 0.076 308.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F541B

    #5F541B

    oklch(44.5% 0.077 98.2)

  • #0B5E70

    #0B5E70

    oklch(44.6% 0.077 217.6)

  • #6F4262

    #6F4262

    oklch(44.3% 0.077 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F541B

    #5F541B

    oklch(44.5% 0.077 98.2)

  • #02615C

    #02615C

    oklch(44.4% 0.077 188.6)

  • #4A4F7E

    #4A4F7E

    oklch(44.5% 0.077 278.1)

  • #78414B

    #78414B

    oklch(44.6% 0.077 9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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