#5A8645

Closest named color: Swamp (#698339). oklch(57.2% 0.106 136.3), rgb(90, 134, 69).

Aa

Black text reads best on this color (4.93:1).

About this color

#5A8645 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.106 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.020 away. Black text reads best on it, at 4.93:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.93:1
White text4.25:1

Values

HEX#5A8645
RGBrgb(90, 134, 69)
HSLhsl(101, 32%, 40%)
OKLCHoklch(57.2% 0.106 136.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 #5A8645 4.25:1 AA large text Lc -74.8 Content text, not long reading
Black text on #5A8645 4.93:1 AA Lc 34.8 Non-text elements, placeholder text
#5A8645 text on white 4.25:1 AA large text Lc 69.3 Content text, not long reading
#5A8645 text on black 4.93:1 AA Lc -32.3 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F3F6F2

    oklch(97% 0.006 137.8)

  2. Step 100

    100

    #E6ECE3

    oklch(93.6% 0.014 134.9)

  3. Step 200

    200

    #D1DDCC

    oklch(88.4% 0.026 136.3)

  4. Step 300

    300

    #B3C8AA

    oklch(80.9% 0.047 136.2)

  5. Step 400

    400

    #8BAC7D

    oklch(70.7% 0.076 136.5)

  6. Step 500

    500

    #6E975B

    oklch(63.1% 0.097 136.2)

  7. Step 600

    600 (this color)

    #5A8645

    oklch(57.2% 0.106 136.3)

  8. Step 700

    700

    #466D32

    oklch(49.1% 0.098 136)

  9. Step 800

    800

    #39592A

    oklch(42.7% 0.082 136.5)

  10. Step 900

    900

    #324927

    oklch(37.7% 0.062 136.1)

  11. Step 950

    950

    #1D2B17

    oklch(27% 0.04 136.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A8645 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)#8A7D400.068
Deuteranopia (no green cones)#8479490.069
Tritanopia (no blue cones)#5982770.075
Achromatopsia (no color)#7B7B7B0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A8645

    #5A8645

    oklch(57.2% 0.106 136.3)

  • #9063A2

    #9063A2

    oklch(57.1% 0.107 315.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A8645

    #5A8645

    oklch(57.2% 0.106 136.3)

  • #807B25

    #807B25

    oklch(57.1% 0.106 106)

  • #258B6A

    #258B6A

    oklch(57.1% 0.105 166.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A8645

    #5A8645

    oklch(57.2% 0.106 136.3)

  • #736EB3

    #736EB3

    oklch(57.2% 0.105 285.9)

  • #A45D85

    #A45D85

    oklch(57.2% 0.105 346.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A8645

    #5A8645

    oklch(57.2% 0.106 136.3)

  • #4D79B5

    #4D79B5

    oklch(57.1% 0.105 256.5)

  • #AD5C62

    #AD5C62

    oklch(57.1% 0.105 16.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A8645

    #5A8645

    oklch(57.2% 0.106 136.3)

  • #1284A7

    #1284A7

    oklch(57.2% 0.105 225.8)

  • #9063A2

    #9063A2

    oklch(57.1% 0.107 315.9)

  • #AA633F

    #AA633F

    oklch(57.2% 0.105 46.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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