#5A5B18

Closest named color: Olive Brown (#645403). oklch(45.6% 0.087 110.2), rgb(90, 91, 24).

Aa

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

About this color

#5A5B18 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 46%, its chroma 0.087 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.024 away. White text reads best on it, at 7.13:1.

Hue familyBrowns
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameOlive Brown (#645403)
Black text2.94:1
White text7.13:1

Values

HEX#5A5B18
RGBrgb(90, 91, 24)
HSLhsl(61, 58%, 23%)
OKLCHoklch(45.6% 0.087 110.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 #5A5B18 7.13:1 AAA Lc -89.6 Fine for body text
Black text on #5A5B18 2.94:1 Fails Lc 19.4 Dividers and decoration only
#5A5B18 text on white 7.13:1 AAA Lc 84.7 Fine for body text
#5A5B18 text on black 2.94:1 Fails Lc -17.3 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC6

    oklch(88.5% 0.028 109.2)

  4. Step 300

    300

    #C2C49E

    oklch(80.9% 0.051 110)

  5. Step 400

    400

    #A3A569

    oklch(70.6% 0.081 109.9)

  6. Step 500

    500

    #8D8F3E

    oklch(63.1% 0.104 110.3)

  7. Step 600

    600

    #777918

    oklch(55.7% 0.113 110.8)

  8. Step 700

    700

    #656506

    oklch(49.1% 0.105 109.7)

  9. Step 800

    800 (this color)

    #5A5B18

    oklch(45.6% 0.087 110.2)

  10. Step 900

    900

    #444515

    oklch(37.9% 0.068 110.4)

  11. Step 950

    950

    #28280E

    oklch(27% 0.042 108.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A5B18 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)#63570D0.017
Deuteranopia (no green cones)#63591D0.017
Tritanopia (no blue cones)#61554E0.079
Achromatopsia (no color)#5858580.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5B18

    #5A5B18

    oklch(45.6% 0.087 110.2)

  • #574E84

    #574E84

    oklch(45.7% 0.087 290.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5B18

    #5A5B18

    oklch(45.6% 0.087 110.2)

  • #705111

    #705111

    oklch(45.7% 0.087 80.4)

  • #3B6333

    #3B6333

    oklch(45.7% 0.087 140.3)

Open the analogous palette in the generator

Split complementary

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

  • #5A5B18

    #5A5B18

    oklch(45.6% 0.087 110.2)

  • #3A5787

    #3A5787

    oklch(45.7% 0.086 260)

  • #6D4675

    #6D4675

    oklch(45.7% 0.088 320.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5B18

    #5A5B18

    oklch(45.6% 0.087 110.2)

  • #0D5F7E

    #0D5F7E

    oklch(45.6% 0.087 230.5)

  • #7B415E

    #7B415E

    oklch(45.6% 0.088 349.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5B18

    #5A5B18

    oklch(45.6% 0.087 110.2)

  • #006468

    #006468

    oklch(45.7% 0.078 199.6)

  • #574E84

    #574E84

    oklch(45.7% 0.087 290.2)

  • #814242

    #814242

    oklch(45.8% 0.087 21)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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