#5F402F

Closest named color: Purple Brown (#673A3F). oklch(40.2% 0.051 49.5), rgb(95, 64, 47).

Aa

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

About this color

#5F402F is a dark, muted brown. In OKLCH its lightness is 40%, its chroma 0.051 and its hue 50°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.038 away. White text reads best on it, at 9.28:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamuted (0.051)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.26:1
White text9.28:1

Values

HEX#5F402F
RGBrgb(95, 64, 47)
HSLhsl(21, 34%, 28%)
OKLCHoklch(40.2% 0.051 49.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 #5F402F 9.28:1 AAA Lc -95.7 Preferred for body text
Black text on #5F402F 2.26:1 Fails Lc 12.6 Not readable
#5F402F text on white 9.28:1 AAA Lc 91.3 Preferred for body text
#5F402F text on black 2.26:1 Fails Lc -11.0 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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E5

    oklch(93.6% 0.009 44.9)

  3. Step 200

    200

    #E3D6D0

    oklch(88.5% 0.017 46.6)

  4. Step 300

    300

    #D2BBB0

    oklch(80.9% 0.031 47.2)

  5. Step 400

    400

    #BA9886

    oklch(70.6% 0.048 49.4)

  6. Step 500

    500

    #A97F68

    oklch(63.2% 0.062 49.9)

  7. Step 600

    600

    #936850

    oklch(55.6% 0.066 50.1)

  8. Step 700

    700

    #7E5641

    oklch(49.1% 0.062 48.5)

  9. Step 800

    800 (this color)

    #5F402F

    oklch(40.2% 0.051 49.5)

  10. Step 900

    900

    #533B2F

    oklch(37.6% 0.04 47.6)

  11. Step 950

    950

    #31231B

    oklch(27% 0.026 51)

Export this scale for Tailwind in the Tailwind colors tool

#5F402F 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)#48432E0.043
Deuteranopia (no green cones)#504A2F0.039
Tritanopia (no blue cones)#673A3C0.034
Achromatopsia (no color)#4747470.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F402F

    #5F402F

    oklch(40.2% 0.051 49.5)

  • #284E5F

    #284E5F

    oklch(40.3% 0.052 229)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F402F

    #5F402F

    oklch(40.2% 0.051 49.5)

  • #613D3D

    #613D3D

    oklch(40.2% 0.051 19.5)

  • #574527

    #574527

    oklch(40.2% 0.051 79.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F402F

    #5F402F

    oklch(40.2% 0.051 49.5)

  • #215153

    #215153

    oklch(40.3% 0.052 199)

  • #384964

    #384964

    oklch(40.3% 0.051 259.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F402F

    #5F402F

    oklch(40.2% 0.051 49.5)

  • #295144

    #295144

    oklch(40.1% 0.051 170.5)

  • #474462

    #474462

    oklch(40.2% 0.05 288.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F402F

    #5F402F

    oklch(40.2% 0.051 49.5)

  • #3A4F34

    #3A4F34

    oklch(40.2% 0.051 138.8)

  • #284E5F

    #284E5F

    oklch(40.3% 0.052 229)

  • #553F5A

    #553F5A

    oklch(40.2% 0.052 320)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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