#5F520C

Closest named color: Olive Brown (#645403). oklch(43.9% 0.085 97.7), rgb(95, 82, 12).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (44%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.69:1
White text7.78:1

Values

HEX#5F520C
RGBrgb(95, 82, 12)
HSLhsl(51, 78%, 21%)
OKLCHoklch(43.9% 0.085 97.7)

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 #5F520C 7.78:1 AAA Lc -91.6 Preferred for body text
Black text on #5F520C 2.69:1 Fails Lc 17.1 Dividers and decoration only
#5F520C text on white 7.78:1 AAA Lc 86.9 Fine for body text
#5F520C text on black 2.69:1 Fails Lc -15.2 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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DEDAC5

    oklch(88.6% 0.028 98.1)

  4. Step 300

    300

    #C9C19D

    oklch(80.8% 0.049 96.9)

  5. Step 400

    400

    #AEA166

    oklch(70.6% 0.08 97.3)

  6. Step 500

    500

    #9A8A3A

    oklch(63.2% 0.102 98)

  7. Step 600

    600

    #85730E

    oklch(55.6% 0.111 97.8)

  8. Step 700

    700

    #706000

    oklch(49% 0.101 97.8)

  9. Step 800

    800 (this color)

    #5F520C

    oklch(43.9% 0.085 97.7)

  10. Step 900

    900

    #4B4212

    oklch(37.8% 0.067 98.5)

  11. Step 950

    950

    #2C270C

    oklch(27.1% 0.043 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F520C 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)#5B50000.011
Deuteranopia (no green cones)#5F54120.006
Tritanopia (no blue cones)#674B450.078
Achromatopsia (no color)#5252520.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F520C

    #5F520C

    oklch(43.9% 0.085 97.7)

  • #474D80

    #474D80

    oklch(43.9% 0.084 277.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F520C

    #5F520C

    oklch(43.9% 0.085 97.7)

  • #714814

    #714814

    oklch(43.9% 0.086 67.7)

  • #455B23

    #455B23

    oklch(44% 0.086 127.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F520C

    #5F520C

    oklch(43.9% 0.085 97.7)

  • #27557F

    #27557F

    oklch(43.8% 0.086 248.5)

  • #5F4476

    #5F4476

    oklch(43.8% 0.086 308.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F520C

    #5F520C

    oklch(43.9% 0.085 97.7)

  • #005C6F

    #005C6F

    oklch(43.8% 0.079 218.2)

  • #703F63

    #703F63

    oklch(44% 0.085 337.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F520C

    #5F520C

    oklch(43.9% 0.085 97.7)

  • #005F5A

    #005F5A

    oklch(43.8% 0.076 188.5)

  • #474D80

    #474D80

    oklch(43.9% 0.084 277.3)

  • #793C49

    #793C49

    oklch(43.8% 0.086 7.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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