#5A3D02

Closest named color: Mud Brown (#60460F). oklch(38.3% 0.079 78), rgb(90, 61, 2).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (38%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameMud Brown (#60460F)
Black text2.10:1
White text9.98:1

Values

HEX#5A3D02
RGBrgb(90, 61, 2)
HSLhsl(40, 96%, 18%)
OKLCHoklch(38.3% 0.079 78)

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 #5A3D02 9.98:1 AAA Lc -97.1 Preferred for body text
Black text on #5A3D02 2.10:1 Fails Lc 11.0 Not readable
#5A3D02 text on white 9.98:1 AAA Lc 93.0 Preferred for body text
#5A3D02 text on black 2.10:1 Fails Lc -9.5 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

    #B17F21

    oklch(63.1% 0.121 78)

  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)

    #5A3D02

    oklch(38.3% 0.079 78)

  11. Step 950

    950

    #342305

    oklch(27.1% 0.05 77.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A3D02 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)#483E000.035
Deuteranopia (no green cones)#4F45050.030
Tritanopia (no blue cones)#6335330.068
Achromatopsia (no color)#4242420.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A3D02

    #5A3D02

    oklch(38.3% 0.079 78)

  • #27436D

    #27436D

    oklch(38.2% 0.08 258.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A3D02

    #5A3D02

    oklch(38.3% 0.079 78)

  • #64351A

    #64351A

    oklch(38.3% 0.078 48.7)

  • #484606

    #484606

    oklch(38.4% 0.079 107.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A3D02

    #5A3D02

    oklch(38.3% 0.079 78)

  • #004A62

    #004A62

    oklch(38.2% 0.075 228.1)

  • #423C6B

    #423C6B

    oklch(38.5% 0.079 288)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A3D02

    #5A3D02

    oklch(38.3% 0.079 78)

  • #004E50

    #004E50

    oklch(38.5% 0.065 197.8)

  • #55355E

    #55355E

    oklch(38.4% 0.078 318.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A3D02

    #5A3D02

    oklch(38.3% 0.079 78)

  • #00503B

    #00503B

    oklch(38.3% 0.078 167.9)

  • #27436D

    #27436D

    oklch(38.2% 0.08 258.3)

  • #61304B

    #61304B

    oklch(38.3% 0.079 347.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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