#5A5B17

Closest named color: Army Green (#4B5D16). oklch(45.6% 0.088 110.3), rgb(90, 91, 23).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameArmy Green (#4B5D16)
Black text2.94:1
White text7.13:1

Values

HEX#5A5B17
RGBrgb(90, 91, 23)
HSLhsl(61, 60%, 22%)
OKLCHoklch(45.6% 0.088 110.3)

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 #5A5B17 7.13:1 AAA Lc -89.6 Fine for body text
Black text on #5A5B17 2.94:1 Fails Lc 19.4 Dividers and decoration only
#5A5B17 text on white 7.13:1 AAA Lc 84.7 Fine for body text
#5A5B17 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

    #A3A568

    oklch(70.6% 0.082 109.9)

  6. Step 500

    500

    #8D8F3D

    oklch(63.1% 0.105 110.4)

  7. Step 600

    600

    #777916

    oklch(55.7% 0.114 110.8)

  8. Step 700

    700

    #656504

    oklch(49.1% 0.105 109.7)

  9. Step 800

    800 (this color)

    #5A5B17

    oklch(45.6% 0.088 110.3)

  10. Step 900

    900

    #444514

    oklch(37.8% 0.069 110.4)

  11. Step 950

    950

    #28280D

    oklch(27% 0.043 109)

Export this scale for Tailwind in the Tailwind colors tool

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

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5B17

    #5A5B17

    oklch(45.6% 0.088 110.3)

  • #574E84

    #574E84

    oklch(45.7% 0.087 290.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5B17

    #5A5B17

    oklch(45.6% 0.088 110.3)

  • #70510F

    #70510F

    oklch(45.7% 0.088 80.8)

  • #3B6332

    #3B6332

    oklch(45.7% 0.088 139.9)

Open the analogous palette in the generator

Split complementary

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

  • #5A5B17

    #5A5B17

    oklch(45.6% 0.088 110.3)

  • #3A5788

    #3A5788

    oklch(45.8% 0.088 260.4)

  • #6D4675

    #6D4675

    oklch(45.7% 0.088 320.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5B17

    #5A5B17

    oklch(45.6% 0.088 110.3)

  • #0B5F7E

    #0B5F7E

    oklch(45.6% 0.087 230.2)

  • #7B415E

    #7B415E

    oklch(45.6% 0.088 349.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5B17

    #5A5B17

    oklch(45.6% 0.088 110.3)

  • #006468

    #006468

    oklch(45.7% 0.078 199.6)

  • #574E84

    #574E84

    oklch(45.7% 0.087 290.2)

  • #814142

    #814142

    oklch(45.6% 0.088 20.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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