PreviewingGo to this paletteOpen in generator
Code
/* Matcha Green — colorset.net */
:root {
--color-1: #9ACD32;
--color-2: #90EE90;
--color-3: #F5F5DC;
--color-4: #FFFACD;
--color-5: #FFF8DC;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #3F5417;
--color-muted: #636D55;
--color-primary: #5D8100;
--color-on-primary: #FFFFFF;
--color-accent: #8F896F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #9ACD32;
--color-on-primary: #0B1202;
--color-accent: #90EE90;
--color-on-accent: #0B1202;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #F5F5DC | adjusted for contrast · from #9ACD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9ACD32 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9ACD32 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9ACD32 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.00:1 | AAA pass 4.5:1 | |
| Text on surface | 16.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 10.12:1 | AAA pass 4.5:1 | |
| Label on accent | 13.45:1 | AAA pass 4.5:1 | |
| Primary on background | 10.12:1 | AAA pass 3:1 | |
| Accent on background | 13.45:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #9ACD32 (Text 1) | #90EE90 (Text 2) | #F5F5DC (Text 3) | #FFFACD (Text 4) | #FFF8DC (Text 5) |
|---|---|---|---|---|---|
| #9ACD32 | Same color | 1.33— | 1.70— | 1.78— | 1.77— |
| #90EE90 | 1.33— | Same color | 1.28— | 1.34— | 1.33— |
| #F5F5DC | 1.70— | 1.28— | Same color | 1.04— | 1.04— |
| #FFFACD | 1.78— | 1.34— | 1.04— | Same color | 1.00— |
| #FFF8DC | 1.77— | 1.33— | 1.04— | 1.00— | Same color |
Shades
Shades and tints (50–950)
