#5A420B

Closest named color: Mud Brown (#60460F). oklch(39.5% 0.075 82.8), rgb(90, 66, 11).

Aa

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

About this color

#5A420B is a dark, moderately saturated brown. In OKLCH its lightness is 40%, its chroma 0.075 and its hue 83°. 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.46:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamoderately saturated (0.075)
Temperaturewarm
Nearest nameMud Brown (#60460F)
Black text2.21:1
White text9.46:1

Values

HEX#5A420B
RGBrgb(90, 66, 11)
HSLhsl(42, 78%, 20%)
OKLCHoklch(39.5% 0.075 82.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 #5A420B 9.46:1 AAA Lc -96.0 Preferred for body text
Black text on #5A420B 2.21:1 Fails Lc 12.2 Not readable
#5A420B text on white 9.46:1 AAA Lc 91.7 Preferred for body text
#5A420B text on black 2.21:1 Fails Lc -10.6 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

    #EFE9DE

    oklch(93.6% 0.016 82.8)

  3. Step 200

    200

    #E3D8C2

    oklch(88.5% 0.032 84.6)

  4. Step 300

    300

    #D3BE98

    oklch(81% 0.056 82.3)

  5. Step 400

    400

    #BC9C5D

    oklch(70.8% 0.09 83.3)

  6. Step 500

    500

    #AB8227

    oklch(63.1% 0.115 83)

  7. Step 600

    600

    #946C00

    oklch(55.7% 0.115 82.9)

  8. Step 700

    700

    #7C5A00

    oklch(49% 0.101 82.9)

  9. Step 800

    800

    #664900

    oklch(42.6% 0.088 82.4)

  10. Step 900

    900 (this color)

    #5A420B

    oklch(39.5% 0.075 82.8)

  11. Step 950

    950

    #322407

    oklch(27.1% 0.048 82.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A420B 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)#4C42020.028
Deuteranopia (no green cones)#52480E0.022
Tritanopia (no blue cones)#633B380.066
Achromatopsia (no color)#4646460.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A420B

    #5A420B

    oklch(39.5% 0.075 82.8)

  • #30466F

    #30466F

    oklch(39.6% 0.075 262.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A420B

    #5A420B

    oklch(39.5% 0.075 82.8)

  • #663A1C

    #663A1C

    oklch(39.6% 0.076 52.9)

  • #474A14

    #474A14

    oklch(39.4% 0.074 112.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A420B

    #5A420B

    oklch(39.5% 0.075 82.8)

  • #0E4D68

    #0E4D68

    oklch(39.6% 0.075 232.5)

  • #483E6B

    #483E6B

    oklch(39.5% 0.075 292.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A420B

    #5A420B

    oklch(39.5% 0.075 82.8)

  • #005156

    #005156

    oklch(39.6% 0.067 202)

  • #5A385E

    #5A385E

    oklch(39.6% 0.075 323.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A420B

    #5A420B

    oklch(39.5% 0.075 82.8)

  • #025342

    #025342

    oklch(39.5% 0.075 172.6)

  • #30466F

    #30466F

    oklch(39.6% 0.075 262.1)

  • #65344A

    #65344A

    oklch(39.5% 0.076 352.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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