Skip to main content

Matcha Foam

4-color mesh gradient

Open in Studio Visualize

Matcha Foam is a 4-color CSS mesh gradient built from #E6F0CC, #C7DBA1, #9DC08B, and #F2CDB4. Its hues sit in the green and orange ranges, and reads as pastel and muted. Dark text (#111827) on it keeps at least 8.74:1 at its weakest point — enough for WCAG AAA body text.

UI Preview

See how this gradient looks in a real interface

🎨

Welcome Back

Your creative workspace awaits

Continue

Shade scales

Each color as a 50–950 ramp, like Tailwind's built-in palettes — ready for a design system. The ringed step is closest to the original color.

#E6F0CC

#C7DBA1

#9DC08B

#F2CDB4

@theme {
  --color-matcha-foam-1-50: #F7F8F4;
  --color-matcha-foam-1-100: #EBEDE5;
  --color-matcha-foam-1-200: #D9DDCD;
  --color-matcha-foam-1-300: #C0C7AF;
  --color-matcha-foam-1-400: #A1A98B;
  --color-matcha-foam-1-500: #878F6E;
  --color-matcha-foam-1-600: #6F7758;
  --color-matcha-foam-1-700: #596045;
  --color-matcha-foam-1-800: #464C36;
  --color-matcha-foam-1-900: #373C29;
  --color-matcha-foam-1-950: #222619;
}

@theme {
  --color-matcha-foam-2-50: #F6F9F2;
  --color-matcha-foam-2-100: #E9EFE0;
  --color-matcha-foam-2-200: #D6DFC5;
  --color-matcha-foam-2-300: #BCCAA2;
  --color-matcha-foam-2-400: #9BAD7A;
  --color-matcha-foam-2-500: #81935C;
  --color-matcha-foam-2-600: #6A7B47;
  --color-matcha-foam-2-700: #546335;
  --color-matcha-foam-2-800: #424F28;
  --color-matcha-foam-2-900: #343E1F;
  --color-matcha-foam-2-950: #202711;
}

@theme {
  --color-matcha-foam-3-50: #F5F9F2;
  --color-matcha-foam-3-100: #E6F0E2;
  --color-matcha-foam-3-200: #D0E1C8;
  --color-matcha-foam-3-300: #B3CCA7;
  --color-matcha-foam-3-400: #91B081;
  --color-matcha-foam-3-500: #759663;
  --color-matcha-foam-3-600: #5E7E4D;
  --color-matcha-foam-3-700: #4A653B;
  --color-matcha-foam-3-800: #3A512E;
  --color-matcha-foam-3-900: #2D3F23;
  --color-matcha-foam-3-950: #1B2814;
}

@theme {
  --color-matcha-foam-4-50: #FBF6F3;
  --color-matcha-foam-4-100: #F4EAE4;
  --color-matcha-foam-4-200: #E8D7CC;
  --color-matcha-foam-4-300: #D7BDAC;
  --color-matcha-foam-4-400: #BD9D88;
  --color-matcha-foam-4-500: #A5836B;
  --color-matcha-foam-4-600: #8B6B55;
  --color-matcha-foam-4-700: #715542;
  --color-matcha-foam-4-800: #5A4333;
  --color-matcha-foam-4-900: #473528;
  --color-matcha-foam-4-950: #2E2117;
}

Light & dark theme

This palette as semantic tokens for a real interface, in both modes. Text, muted text and button labels are adjusted until they pass WCAG AA.

Light

Weekly summary

Everything your team shipped since Monday.

Open reportNewDetails

Dark

Weekly summary

Everything your team shipped since Monday.

Open reportNewDetails
:root {
  --background: #FAFAF8;
  --surface: #F3F4F0;
  --text: #1A1B15;
  --muted: #62645D;
  --border: #DDDFD8;
  --primary: #799B67;
  --primary-foreground: #1C1917;
  --accent: #AD8A73;
  --accent-foreground: #1C1917;
}

.dark {
  --background: #0F100B;
  --surface: #191A14;
  --text: #EDF0E7;
  --muted: #A3A69E;
  --border: #32342E;
  --primary: #9DC08B;
  --primary-foreground: #1C1917;
  --accent: #F2CDB4;
  --accent-foreground: #1C1917;
}

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.1. 0 of 12 palette combinations are readable as body text. White and near-black text are included for comparison.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #E6F0CC#C7DBA1#9DC08B#F2CDB4
#E6F0CC
Same color
1.3Fail
1.7Fail
1.2Fail
#C7DBA1
1.3Fail
Same color
1.4Fail
1.0Fail
#9DC08B
1.7Fail
1.4Fail
Same color
1.4Fail
#F2CDB4
1.2Fail
1.0Fail
1.4Fail
Same color
White
1.2Fail
1.5Fail
2.0Fail
1.5Fail
Near-black
14.7AAA
11.7AAA
8.6AAA
11.8AAA

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • Near-black on #E6F0CC · 14.7:1
  • Near-black on #C7DBA1 · 11.7:1
  • Near-black on #9DC08B · 8.6:1
  • Near-black on #F2CDB4 · 11.8:1
Suggested fixes for 12 failing pairs

The nearest shade of the text color that passes AA (4.5:1), keeping its hue. Click one to copy it.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Parchment, #E6F0CC and Celadon, #C7DBA1; Parchment, #E6F0CC and Apricot, #F2CDB4 become hard to tell apart — don't rely on color alone to separate them.

What are the HEX, RGB, and HSL values for Matcha Foam?

Every color in this 4-color set, with its contrast ratio against white and black.

Color values for Matcha Foam: hex, RGB, HSL, and WCAG contrast ratios against white and black.
ColorNameHEXRGBHSLOn whiteOn black
#E6F0CCParchment#E6F0CC230, 240, 20477°, 55%, 87%1.19:117.70:1
#C7DBA1Celadon#C7DBA1199, 219, 16181°, 45%, 75%1.49:114.08:1
#9DC08BDark Sea Green#9DC08B157, 192, 139100°, 30%, 65%2.03:110.35:1
#F2CDB4Apricot#F2CDB4242, 205, 18024°, 70%, 83%1.48:114.17:1

Others sharing the same hues and tone

All mesh gradients →