A five-color palette

Matcha: a matcha, olive and pale sage color palette

A matcha green and a dark olive with a light yellow-green, a pale sage and a near-black. Its hex codes are #5d9300, #e6f2dd, #485e1d, #b3c781, #141c0d. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#5d9300Olive Drab
#e6f2ddBeige
#485e1dDark Olive Green
#b3c781Dark Khaki
#141c0dMidnight Blue
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#5d9300Olive Drab (olivedrab)oklch(60.2% 0.164 130.7)5.64:1 passes3.72:1 fails
#e6f2ddBeige (beige)oklch(94.6% 0.031 131.5)18.11:1 passes1.16:1 fails
#485e1dDark Olive Green (darkolivegreen)oklch(44.9% 0.094 126.0)2.89:1 fails7.26:1 passes
#b3c781Dark Khaki (darkkhaki)oklch(79.8% 0.095 121.6)11.40:1 passes1.84:1 fails
#141c0dMidnight Blue (midnightblue)oklch(21.3% 0.030 131.4)1.20:1 fails17.48:1 passes

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #e6f2dd, the lightest of the five, takes the background and #141c0d, 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: #5d9300;
  --color-2: #e6f2dd;
  --color-3: #485e1d;
  --color-4: #b3c781;
  --color-5: #141c0d;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #5d9300;
  --color-2: #e6f2dd;
  --color-3: #485e1d;
  --color-4: #b3c781;
  --color-5: #141c0d;
  --color-primary: #5d9300;
  --color-secondary: #e6f2dd;
  --color-accent: #485e1d;
}

SCSS variables

SCSS
$color-1: #5d9300;
$color-2: #e6f2dd;
$color-3: #485e1d;
$color-4: #b3c781;
$color-5: #141c0d;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#5d9300",
    "#e6f2dd",
    "#485e1d",
    "#b3c781",
    "#141c0d"
  ]
}

Hex list

Text
#5d9300
#e6f2dd
#485e1d
#b3c781
#141c0d

Coolors link

URL
https://coolors.co/5d9300-e6f2dd-485e1d-b3c781-141c0d