#5A5312

Closest named color: Olive Brown (#645403). oklch(43.6% 0.083 103), rgb(90, 83, 18).

Aa

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

About this color

#5A5312 is a dark, moderately saturated brown. In OKLCH its lightness is 44%, its chroma 0.083 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.018 away. White text reads best on it, at 7.83:1.

Hue familyBrowns
Lightnessdark (44%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.68:1
White text7.83:1

Values

HEX#5A5312
RGBrgb(90, 83, 18)
HSLhsl(54, 67%, 21%)
OKLCHoklch(43.6% 0.083 103)

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 #5A5312 7.83:1 AAA Lc -91.8 Preferred for body text
Black text on #5A5312 2.68:1 Fails Lc 16.9 Dividers and decoration only
#5A5312 text on white 7.83:1 AAA Lc 87.1 Fine for body text
#5A5312 text on black 2.68:1 Fails Lc -15.0 Dividers and decoration only

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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C6C29F

    oklch(80.8% 0.048 102)

  5. Step 400

    400

    #A9A36A

    oklch(70.7% 0.077 103)

  6. Step 500

    500

    #948C3F

    oklch(63.1% 0.099 103.4)

  7. Step 600

    600

    #7F751A

    oklch(55.5% 0.107 102.8)

  8. Step 700

    700

    #6B6209

    oklch(49% 0.1 102.9)

  9. Step 800

    800 (this color)

    #5A5312

    oklch(43.6% 0.083 103)

  10. Step 900

    900

    #484315

    oklch(37.8% 0.065 103.1)

  11. Step 950

    950

    #2A270E

    oklch(26.9% 0.04 102.5)

Export this scale for Tailwind in the Tailwind colors tool

#5A5312 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)#5B50060.009
Deuteranopia (no green cones)#5D53170.007
Tritanopia (no blue cones)#614D470.076
Achromatopsia (no color)#5252520.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5312

    #5A5312

    oklch(43.6% 0.083 103)

  • #4B4B7D

    #4B4B7D

    oklch(43.6% 0.082 282.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5312

    #5A5312

    oklch(43.6% 0.083 103)

  • #6D4913

    #6D4913

    oklch(43.6% 0.083 72.5)

  • #3F5B29

    #3F5B29

    oklch(43.6% 0.083 133)

Open the analogous palette in the generator

Split complementary

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

  • #5A5312

    #5A5312

    oklch(43.6% 0.083 103)

  • #2E537E

    #2E537E

    oklch(43.6% 0.083 253.4)

  • #614372

    #614372

    oklch(43.6% 0.083 312.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5312

    #5A5312

    oklch(43.6% 0.083 103)

  • #005B72

    #005B72

    oklch(43.7% 0.081 222.7)

  • #703E5D

    #703E5D

    oklch(43.6% 0.082 343.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5312

    #5A5312

    oklch(43.6% 0.083 103)

  • #005E5D

    #005E5D

    oklch(43.6% 0.075 193.5)

  • #4B4B7D

    #4B4B7D

    oklch(43.6% 0.082 282.5)

  • #783D44

    #783D44

    oklch(43.7% 0.082 13.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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