#5A520F

Closest named color: Green Brown (#544E03). oklch(43.4% 0.084 102.2), rgb(90, 82, 15).

Aa

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

About this color

#5A520F is a dark, moderately saturated brown. In OKLCH its lightness is 43%, its chroma 0.084 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.92:1.

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

Values

HEX#5A520F
RGBrgb(90, 82, 15)
HSLhsl(54, 71%, 21%)
OKLCHoklch(43.4% 0.084 102.2)

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

    #AAA369

    oklch(70.8% 0.078 102.2)

  6. Step 500

    500

    #958C3E

    oklch(63.2% 0.1 102.8)

  7. Step 600

    600

    #807517

    oklch(55.6% 0.109 102.2)

  8. Step 700

    700

    #6C6205

    oklch(49% 0.101 102.3)

  9. Step 800

    800 (this color)

    #5A520F

    oklch(43.4% 0.084 102.2)

  10. Step 900

    900

    #484314

    oklch(37.7% 0.066 103.2)

  11. Step 950

    950

    #2A270D

    oklch(26.9% 0.042 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A520F 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)#5A4F020.010
Deuteranopia (no green cones)#5D53140.007
Tritanopia (no blue cones)#624B450.077
Achromatopsia (no color)#5151510.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A520F

    #5A520F

    oklch(43.4% 0.084 102.2)

  • #4A4A7D

    #4A4A7D

    oklch(43.3% 0.083 282.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A520F

    #5A520F

    oklch(43.4% 0.084 102.2)

  • #6D4812

    #6D4812

    oklch(43.4% 0.084 71.5)

  • #3F5A27

    #3F5A27

    oklch(43.3% 0.083 132.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A520F

    #5A520F

    oklch(43.4% 0.084 102.2)

  • #2C537D

    #2C537D

    oklch(43.4% 0.083 251.8)

  • #604272

    #604272

    oklch(43.3% 0.084 312)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A520F

    #5A520F

    oklch(43.4% 0.084 102.2)

  • #005A70

    #005A70

    oklch(43.3% 0.08 221.9)

  • #703D5D

    #703D5D

    oklch(43.4% 0.084 342.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A520F

    #5A520F

    oklch(43.4% 0.084 102.2)

  • #005D5B

    #005D5B

    oklch(43.2% 0.074 192.2)

  • #4A4A7D

    #4A4A7D

    oklch(43.3% 0.083 282.4)

  • #773C44

    #773C44

    oklch(43.3% 0.083 12.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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