A five-color palette

Shamrock: a green, sage and mint color palette

Two pure greens, a dark one and a bright one, with a sage, a pale mint and a green-black. Its hex codes are #005d23, #a1bea1, #082809, #2a9b2a, #cce7ce. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#005d23Dark Green
#a1bea1Dark Sea Green
#082809Dark Slate Grey
#2a9b2aForest Green
#cce7ceGainsboro
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#005d23Dark Green (darkgreen)oklch(41.7% 0.119 148.5)2.59:1 fails8.11:1 passes
#a1bea1Dark Sea Green (darkseagreen)oklch(77.2% 0.051 145.1)10.40:1 passes2.02:1 fails
#082809Dark Slate Grey (darkslategrey)oklch(24.5% 0.066 143.7)1.32:1 fails15.94:1 passes
#2a9b2aForest Green (forestgreen)oklch(60.5% 0.180 142.9)5.82:1 passes3.61:1 fails
#cce7ceGainsboro (gainsboro)oklch(90.1% 0.044 147.3)15.89:1 passes1.32:1 fails

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #cce7ce, the lightest of the five, takes the background and #082809, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.

The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.

The palette as code

CSS variables

CSS
:root {
  --color-1: #005d23;
  --color-2: #a1bea1;
  --color-3: #082809;
  --color-4: #2a9b2a;
  --color-5: #cce7ce;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #005d23;
  --color-2: #a1bea1;
  --color-3: #082809;
  --color-4: #2a9b2a;
  --color-5: #cce7ce;
  --color-primary: #005d23;
  --color-secondary: #a1bea1;
  --color-accent: #082809;
}

SCSS variables

SCSS
$color-1: #005d23;
$color-2: #a1bea1;
$color-3: #082809;
$color-4: #2a9b2a;
$color-5: #cce7ce;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#005d23",
    "#a1bea1",
    "#082809",
    "#2a9b2a",
    "#cce7ce"
  ]
}

Hex list

Text
#005d23
#a1bea1
#082809
#2a9b2a
#cce7ce

Coolors link

URL
https://coolors.co/005d23-a1bea1-082809-2a9b2a-cce7ce