#5B5202

Closest named color: Olive Brown (#645403). oklch(43.4% 0.09 102), rgb(91, 82, 2).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (43%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameOlive Brown (#645403)
Black text2.65:1
White text7.91:1

Values

HEX#5B5202
RGBrgb(91, 82, 2)
HSLhsl(54, 96%, 18%)
OKLCHoklch(43.4% 0.09 102)

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 #5B5202 7.91:1 AAA Lc -92.0 Preferred for body text
Black text on #5B5202 2.65:1 Fails Lc 16.7 Dividers and decoration only
#5B5202 text on white 7.91:1 AAA Lc 87.3 Fine for body text
#5B5202 text on black 2.65:1 Fails Lc -14.8 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DDDAC5

    oklch(88.5% 0.028 100.3)

  4. Step 300

    300

    #C7C29C

    oklch(80.8% 0.051 101.2)

  5. Step 400

    400

    #ABA364

    oklch(70.8% 0.084 102)

  6. Step 500

    500

    #978B35

    oklch(63% 0.107 101.4)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800 (this color)

    #5B5202

    oklch(43.4% 0.09 102)

  10. Step 900

    900

    #49430E

    oklch(37.8% 0.071 102.7)

  11. Step 950

    950

    #2B270B

    oklch(27% 0.044 101.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B5202 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)#5E530A0.008
Tritanopia (no blue cones)#634B450.083
Achromatopsia (no color)#5151510.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5202

    #5B5202

    oklch(43.4% 0.09 102)

  • #4A4A81

    #4A4A81

    oklch(43.6% 0.09 282)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5202

    #5B5202

    oklch(43.4% 0.09 102)

  • #6F4706

    #6F4706

    oklch(43.3% 0.09 71.5)

  • #3E5B23

    #3E5B23

    oklch(43.5% 0.09 132)

Open the analogous palette in the generator

Split complementary

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

  • #5B5202

    #5B5202

    oklch(43.4% 0.09 102)

  • #285381

    #285381

    oklch(43.5% 0.09 252)

  • #614174

    #614174

    oklch(43.3% 0.089 312)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5202

    #5B5202

    oklch(43.4% 0.09 102)

  • #005A70

    #005A70

    oklch(43.3% 0.08 221.9)

  • #723B5F

    #723B5F

    oklch(43.4% 0.091 341.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5202

    #5B5202

    oklch(43.4% 0.09 102)

  • #005E5B

    #005E5B

    oklch(43.5% 0.075 191)

  • #4A4A81

    #4A4A81

    oklch(43.6% 0.09 282)

  • #7A3A44

    #7A3A44

    oklch(43.4% 0.089 11.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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