#5B5308

Closest named color: Olive Brown (#645403). oklch(43.7% 0.088 102.7), rgb(91, 83, 8).

Aa

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

About this color

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

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

Values

HEX#5B5308
RGBrgb(91, 83, 8)
HSLhsl(54, 84%, 19%)
OKLCHoklch(43.7% 0.088 102.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 #5B5308 7.81:1 AAA Lc -91.8 Preferred for body text
Black text on #5B5308 2.68:1 Fails Lc 17.0 Dividers and decoration only
#5B5308 text on white 7.81:1 AAA Lc 87.0 Fine for body text
#5B5308 text on black 2.68:1 Fails Lc -15.1 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEADF

    oklch(93.5% 0.015 102.5)

  3. Step 200

    200

    #DCDAC5

    oklch(88.4% 0.028 102.5)

  4. Step 300

    300

    #C6C39C

    oklch(81% 0.053 103.9)

  5. Step 400

    400

    #AAA365

    oklch(70.7% 0.083 102.7)

  6. Step 500

    500

    #968C38

    oklch(63.2% 0.106 102.5)

  7. Step 600

    600

    #807509

    oklch(55.5% 0.114 102.7)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800 (this color)

    #5B5308

    oklch(43.7% 0.088 102.7)

  10. Step 900

    900

    #494310

    oklch(37.8% 0.069 102.5)

  11. Step 950

    950

    #2A270C

    oklch(26.9% 0.043 103)

Export this scale for Tailwind in the Tailwind colors tool

#5B5308 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)#5C50000.009
Deuteranopia (no green cones)#5E540F0.007
Tritanopia (no blue cones)#634C460.081
Achromatopsia (no color)#5252520.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5308

    #5B5308

    oklch(43.7% 0.088 102.7)

  • #4B4A80

    #4B4A80

    oklch(43.6% 0.088 283)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5308

    #5B5308

    oklch(43.7% 0.088 102.7)

  • #6F490B

    #6F490B

    oklch(43.8% 0.088 72.9)

  • #3E5C25

    #3E5C25

    oklch(43.8% 0.089 132.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B5308

    #5B5308

    oklch(43.7% 0.088 102.7)

  • #2B5381

    #2B5381

    oklch(43.6% 0.089 253.3)

  • #624274

    #624274

    oklch(43.6% 0.088 312.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5308

    #5B5308

    oklch(43.7% 0.088 102.7)

  • #005B72

    #005B72

    oklch(43.7% 0.081 222.7)

  • #723C5F

    #723C5F

    oklch(43.6% 0.089 342)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5308

    #5B5308

    oklch(43.7% 0.088 102.7)

  • #005E5D

    #005E5D

    oklch(43.6% 0.075 193.5)

  • #4B4A80

    #4B4A80

    oklch(43.6% 0.088 283)

  • #7A3B44

    #7A3B44

    oklch(43.6% 0.088 12.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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