#5A520C

Closest named color: Green Brown (#544E03). oklch(43.3% 0.085 102.4), rgb(90, 82, 12).

Aa

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

About this color

#5A520C is a dark, moderately saturated brown. In OKLCH its lightness is 43%, its chroma 0.085 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Green Brown (#544E03), ΔE 0.017 away. White text reads best on it, at 7.93:1.

Hue familyBrowns
Lightnessdark (43%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameGreen Brown (#544E03)
Black text2.64:1
White text7.93:1

Values

HEX#5A520C
RGBrgb(90, 82, 12)
HSLhsl(54, 76%, 20%)
OKLCHoklch(43.3% 0.085 102.4)

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 #5A520C 7.93:1 AAA Lc -92.1 Preferred for body text
Black text on #5A520C 2.64:1 Fails Lc 16.6 Dividers and decoration only
#5A520C text on white 7.93:1 AAA Lc 87.4 Fine for body text
#5A520C text on black 2.64:1 Fails Lc -14.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 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

    #C6C29E

    oklch(80.8% 0.049 102.2)

  5. Step 400

    400

    #AAA367

    oklch(70.7% 0.08 102.5)

  6. Step 500

    500

    #958C3C

    oklch(63.1% 0.102 102.9)

  7. Step 600

    600

    #807513

    oklch(55.6% 0.11 102.4)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800 (this color)

    #5A520C

    oklch(43.3% 0.085 102.4)

  10. Step 900

    900

    #484313

    oklch(37.7% 0.067 103.3)

  11. Step 950

    950

    #2A270D

    oklch(26.9% 0.042 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A520C 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)#5B4F000.009
Deuteranopia (no green cones)#5D53120.007
Tritanopia (no blue cones)#624B450.079
Achromatopsia (no color)#5151510.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A520C

    #5A520C

    oklch(43.3% 0.085 102.4)

  • #4A4A7E

    #4A4A7E

    oklch(43.4% 0.085 282.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A520C

    #5A520C

    oklch(43.3% 0.085 102.4)

  • #6D480F

    #6D480F

    oklch(43.3% 0.085 72.3)

  • #3E5A26

    #3E5A26

    oklch(43.2% 0.085 132.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A520C

    #5A520C

    oklch(43.3% 0.085 102.4)

  • #2B537E

    #2B537E

    oklch(43.4% 0.085 251.9)

  • #614272

    #614272

    oklch(43.4% 0.085 312.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A520C

    #5A520C

    oklch(43.3% 0.085 102.4)

  • #005A70

    #005A70

    oklch(43.3% 0.08 221.9)

  • #703C5D

    #703C5D

    oklch(43.2% 0.085 342.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A520C

    #5A520C

    oklch(43.3% 0.085 102.4)

  • #005D5B

    #005D5B

    oklch(43.2% 0.074 192.2)

  • #4A4A7E

    #4A4A7E

    oklch(43.4% 0.085 282.3)

  • #783B44

    #783B44

    oklch(43.3% 0.085 12)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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