#5F400B

Closest named color: Mud Brown (#60460F). oklch(39.7% 0.078 75), rgb(95, 64, 11).

Aa

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

About this color

#5F400B is a dark, moderately saturated brown. In OKLCH its lightness is 40%, its chroma 0.078 and its hue 75°. Its hue sits on the warm side of the wheel. The nearest named color is Mud Brown (#60460F), ΔE 0.017 away. White text reads best on it, at 9.43:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameMud Brown (#60460F)
Black text2.22:1
White text9.43:1

Values

HEX#5F400B
RGBrgb(95, 64, 11)
HSLhsl(38, 79%, 21%)
OKLCHoklch(39.7% 0.078 75)

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 #5F400B 9.43:1 AAA Lc -95.9 Preferred for body text
Black text on #5F400B 2.22:1 Fails Lc 12.3 Not readable
#5F400B text on white 9.43:1 AAA Lc 91.6 Preferred for body text
#5F400B text on black 2.22:1 Fails Lc -10.7 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 900.

  1. Step 50

    50

    #F9F5F0

    oklch(97.2% 0.008 73.7)

  2. Step 100

    100

    #F1E9DE

    oklch(93.7% 0.017 76.1)

  3. Step 200

    200

    #E6D7C2

    oklch(88.6% 0.033 76.4)

  4. Step 300

    300

    #D7BC97

    oklch(80.9% 0.058 75.5)

  5. Step 400

    400

    #C3985C

    oklch(70.7% 0.093 74.5)

  6. Step 500

    500

    #B37E26

    oklch(63.2% 0.119 75.3)

  7. Step 600

    600

    #9B6700

    oklch(55.5% 0.117 74.4)

  8. Step 700

    700

    #825700

    oklch(49.1% 0.103 75.7)

  9. Step 800

    800

    #6B4600

    oklch(42.6% 0.09 74.7)

  10. Step 900

    900 (this color)

    #5F400B

    oklch(39.7% 0.078 75)

  11. Step 950

    950

    #342307

    oklch(27.1% 0.049 76.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F400B 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)#4B42020.040
Deuteranopia (no green cones)#52490D0.034
Tritanopia (no blue cones)#6838360.065
Achromatopsia (no color)#4646460.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F400B

    #5F400B

    oklch(39.7% 0.078 75)

  • #284870

    #284870

    oklch(39.7% 0.078 254.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F400B

    #5F400B

    oklch(39.7% 0.078 75)

  • #693821

    #693821

    oklch(39.8% 0.078 45)

  • #4D490C

    #4D490C

    oklch(39.7% 0.078 105.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F400B

    #5F400B

    oklch(39.7% 0.078 75)

  • #004F65

    #004F65

    oklch(39.8% 0.075 224.5)

  • #43406F

    #43406F

    oklch(39.7% 0.078 285.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F400B

    #5F400B

    oklch(39.7% 0.078 75)

  • #005252

    #005252

    oklch(39.7% 0.068 194.8)

  • #573963

    #573963

    oklch(39.7% 0.078 315.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F400B

    #5F400B

    oklch(39.7% 0.078 75)

  • #0E543C

    #0E543C

    oklch(39.8% 0.078 164.5)

  • #284870

    #284870

    oklch(39.7% 0.078 254.9)

  • #643550

    #643550

    oklch(39.8% 0.077 345.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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