A five-color palette

Fig and fern: a fig purple, fern green and lilac color palette

A fig purple and a lilac against a fern green, a deep green and a pale mint. Its hex codes are #3b1a42, #619262, #c5f6c1, #236728, #dbb7e6. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#3b1a42Midnight Blue
#619262Sea Green
#c5f6c1Pale Goldenrod
#236728Dark Green
#dbb7e6Thistle
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#3b1a42Midnight Blue (midnightblue)oklch(28.4% 0.081 320.4)1.41:1 fails14.87:1 passes
#619262Sea Green (seagreen)oklch(61.2% 0.089 144.9)5.80:1 passes3.62:1 fails
#c5f6c1Pale Goldenrod (palegoldenrod)oklch(92.5% 0.087 142.9)17.33:1 passes1.21:1 fails
#236728Dark Green (darkgreen)oklch(45.6% 0.118 144.5)3.04:1 fails6.90:1 passes
#dbb7e6Thistle (thistle)oklch(82.6% 0.075 318.2)11.93:1 passes1.76:1 fails

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #c5f6c1, the lightest of the five, takes the background and #3b1a42, 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: #3b1a42;
  --color-2: #619262;
  --color-3: #c5f6c1;
  --color-4: #236728;
  --color-5: #dbb7e6;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #3b1a42;
  --color-2: #619262;
  --color-3: #c5f6c1;
  --color-4: #236728;
  --color-5: #dbb7e6;
  --color-primary: #3b1a42;
  --color-secondary: #619262;
  --color-accent: #c5f6c1;
}

SCSS variables

SCSS
$color-1: #3b1a42;
$color-2: #619262;
$color-3: #c5f6c1;
$color-4: #236728;
$color-5: #dbb7e6;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#3b1a42",
    "#619262",
    "#c5f6c1",
    "#236728",
    "#dbb7e6"
  ]
}

Hex list

Text
#3b1a42
#619262
#c5f6c1
#236728
#dbb7e6

Coolors link

URL
https://coolors.co/3b1a42-619262-c5f6c1-236728-dbb7e6