#5F420A

Closest named color: Mud Brown (#60460F). oklch(40.2% 0.078 78.1), rgb(95, 66, 10).

Aa

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

About this color

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

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

Values

HEX#5F420A
RGBrgb(95, 66, 10)
HSLhsl(40, 81%, 21%)
OKLCHoklch(40.2% 0.078 78.1)

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 #5F420A 9.25:1 AAA Lc -95.5 Preferred for body text
Black text on #5F420A 2.27:1 Fails Lc 12.8 Not readable
#5F420A text on white 9.25:1 AAA Lc 91.2 Preferred for body text
#5F420A text on black 2.27:1 Fails Lc -11.2 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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #F0E9DE

    oklch(93.6% 0.017 79.3)

  3. Step 200

    200

    #E5D7C2

    oklch(88.5% 0.032 78.1)

  4. Step 300

    300

    #D6BD96

    oklch(81% 0.059 78.8)

  5. Step 400

    400

    #C1995A

    oklch(70.7% 0.094 77.7)

  6. Step 500

    500

    #B17F22

    oklch(63.1% 0.12 77.9)

  7. Step 600

    600

    #986900

    oklch(55.6% 0.116 77.9)

  8. Step 700

    700

    #805800

    oklch(49.1% 0.102 78.1)

  9. Step 800

    800

    #694800

    oklch(42.7% 0.089 78.7)

  10. Step 900

    900 (this color)

    #5F420A

    oklch(40.2% 0.078 78.1)

  11. Step 950

    950

    #342306

    oklch(27.1% 0.05 77.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F420A 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)#4D43000.036
Deuteranopia (no green cones)#544A0D0.029
Tritanopia (no blue cones)#683A380.067
Achromatopsia (no color)#4747470.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F420A

    #5F420A

    oklch(40.2% 0.078 78.1)

  • #2C4872

    #2C4872

    oklch(40.1% 0.079 258.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F420A

    #5F420A

    oklch(40.2% 0.078 78.1)

  • #6A3A1F

    #6A3A1F

    oklch(40.3% 0.079 48.6)

  • #4C4B0F

    #4C4B0F

    oklch(40.2% 0.078 108.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F420A

    #5F420A

    oklch(40.2% 0.078 78.1)

  • #005069

    #005069

    oklch(40.2% 0.078 227.5)

  • #464070

    #464070

    oklch(40% 0.08 288)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F420A

    #5F420A

    oklch(40.2% 0.078 78.1)

  • #005355

    #005355

    oklch(40.1% 0.068 197.6)

  • #5A3A63

    #5A3A63

    oklch(40.3% 0.077 318.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F420A

    #5F420A

    oklch(40.2% 0.078 78.1)

  • #085540

    #085540

    oklch(40.1% 0.078 168.3)

  • #2C4872

    #2C4872

    oklch(40.1% 0.079 258.3)

  • #66354F

    #66354F

    oklch(40% 0.078 348.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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