#5A5308

Closest named color: Olive Brown (#645403). oklch(43.6% 0.088 103.6), rgb(90, 83, 8).

Aa

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

About this color

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

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

Values

HEX#5A5308
RGBrgb(90, 83, 8)
HSLhsl(55, 84%, 19%)
OKLCHoklch(43.6% 0.088 103.6)

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 #5A5308 7.84:1 AAA Lc -91.8 Preferred for body text
Black text on #5A5308 2.67:1 Fails Lc 16.9 Dividers and decoration only
#5A5308 text on white 7.84:1 AAA Lc 87.1 Fine for body text
#5A5308 text on black 2.67:1 Fails Lc -15.0 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

    #EBEADF

    oklch(93.5% 0.015 102.5)

  3. Step 200

    200

    #DCDAC5

    oklch(88.4% 0.028 102.5)

  4. Step 300

    300

    #C6C39D

    oklch(81% 0.051 103.7)

  5. Step 400

    400

    #A9A366

    oklch(70.6% 0.082 103.4)

  6. Step 500

    500

    #958C39

    oklch(63.1% 0.105 103.1)

  7. Step 600

    600

    #7F760A

    oklch(55.7% 0.115 104)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800 (this color)

    #5A5308

    oklch(43.6% 0.088 103.6)

  10. Step 900

    900

    #484311

    oklch(37.7% 0.068 103.6)

  11. Step 950

    950

    #2A270C

    oklch(26.9% 0.043 103)

Export this scale for Tailwind in the Tailwind colors tool

#5A5308 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)#5E530F0.009
Tritanopia (no blue cones)#624C460.082
Achromatopsia (no color)#5252520.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5308

    #5A5308

    oklch(43.6% 0.088 103.6)

  • #4B4A80

    #4B4A80

    oklch(43.6% 0.088 283)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5308

    #5A5308

    oklch(43.6% 0.088 103.6)

  • #6E4909

    #6E4909

    oklch(43.6% 0.088 74.1)

  • #3D5C26

    #3D5C26

    oklch(43.7% 0.089 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A5308

    #5A5308

    oklch(43.6% 0.088 103.6)

  • #2C5381

    #2C5381

    oklch(43.6% 0.088 253.8)

  • #634273

    #634273

    oklch(43.7% 0.087 314.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5308

    #5A5308

    oklch(43.6% 0.088 103.6)

  • #005A72

    #005A72

    oklch(43.4% 0.082 223.9)

  • #723C5E

    #723C5E

    oklch(43.5% 0.088 342.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5308

    #5A5308

    oklch(43.6% 0.088 103.6)

  • #005E5D

    #005E5D

    oklch(43.6% 0.075 193.5)

  • #4B4A80

    #4B4A80

    oklch(43.6% 0.088 283)

  • #7A3B43

    #7A3B43

    oklch(43.6% 0.088 13.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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