#5F421B

Closest named color: Mud Brown (#60460F). oklch(40.3% 0.067 71.8), rgb(95, 66, 27).

Aa

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

About this color

#5F421B is a dark, muted brown. In OKLCH its lightness is 40%, its chroma 0.067 and its hue 72°. Its hue sits on the warm side of the wheel. The nearest named color is Mud Brown (#60460F), ΔE 0.018 away. White text reads best on it, at 9.20:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameMud Brown (#60460F)
Black text2.28:1
White text9.20:1

Values

HEX#5F421B
RGBrgb(95, 66, 27)
HSLhsl(34, 56%, 24%)
OKLCHoklch(40.3% 0.067 71.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 #5F421B 9.20:1 AAA Lc -95.4 Preferred for body text
Black text on #5F421B 2.28:1 Fails Lc 12.9 Not readable
#5F421B text on white 9.20:1 AAA Lc 91.1 Preferred for body text
#5F421B text on black 2.28:1 Fails Lc -11.3 Not readable

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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE9E2

    oklch(93.7% 0.011 71.9)

  3. Step 200

    200

    #E2D7CA

    oklch(88.4% 0.021 72.1)

  4. Step 300

    300

    #D1BDA5

    oklch(80.9% 0.04 72.3)

  5. Step 400

    400

    #BA9B75

    oklch(70.8% 0.064 72.2)

  6. Step 500

    500

    #A88151

    oklch(63% 0.081 71.3)

  7. Step 600

    600

    #936A35

    oklch(55.5% 0.087 71.3)

  8. Step 700

    700

    #7D5827

    oklch(49% 0.081 71.4)

  9. Step 800

    800 (this color)

    #5F421B

    oklch(40.3% 0.067 71.8)

  10. Step 900

    900

    #533D21

    oklch(37.7% 0.052 71.8)

  11. Step 950

    950

    #312414

    oklch(27.1% 0.033 71.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F421B 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)#4C44170.036
Deuteranopia (no green cones)#534A1C0.031
Tritanopia (no blue cones)#683B390.054
Achromatopsia (no color)#4848480.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F421B

    #5F421B

    oklch(40.3% 0.067 71.8)

  • #2C4B6C

    #2C4B6C

    oklch(40.4% 0.067 251.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F421B

    #5F421B

    oklch(40.3% 0.067 71.8)

  • #673C2B

    #673C2B

    oklch(40.4% 0.067 42.1)

  • #504A1A

    #504A1A

    oklch(40.4% 0.067 102.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F421B

    #5F421B

    oklch(40.3% 0.067 71.8)

  • #115062

    #115062

    oklch(40.2% 0.067 221.9)

  • #43446C

    #43446C

    oklch(40.4% 0.067 281.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F421B

    #5F421B

    oklch(40.3% 0.067 71.8)

  • #065452

    #065452

    oklch(40.4% 0.067 192)

  • #553E63

    #553E63

    oklch(40.5% 0.067 312)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F421B

    #5F421B

    oklch(40.3% 0.067 71.8)

  • #21543D

    #21543D

    oklch(40.4% 0.068 161.5)

  • #2C4B6C

    #2C4B6C

    oklch(40.4% 0.067 251.2)

  • #613953

    #613953

    oklch(40.2% 0.068 341.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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