PreviewingGo to this paletteOpen in generator
Code
/* Matcha Latte — colorset.net */
:root {
--color-1: #F5F6EB;
--color-2: #7AA761;
--color-3: #D1947F;
--color-4: #C1D6AD;
--color-5: #27321C;
--color-bg: #F5F6EB;
--color-surface: #FCFDF6;
--color-border: #DCDECF;
--color-text: #27321C;
--color-muted: #67745C;
--color-primary: #6B9752;
--color-on-primary: #000000;
--color-accent: #BA7F6A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1109;
--color-surface: #171B13;
--color-border: #2A3025;
--color-text: #F5F6EB;
--color-muted: #8A8B81;
--color-primary: #7AA761;
--color-on-primary: #0D1109;
--color-accent: #D1947F;
--color-on-accent: #0D1109;
}
}
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 | from palette · color 1 | adjusted for contrast · from #27321C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7AA761 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D1947F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.35:1 | AAA pass 4.5:1 | |
| Text on surface | 13.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 6.17:1 | AA pass 4.5:1 | |
| Label on accent | 6.33:1 | AA pass 4.5:1 | |
| Primary on background | 3.12:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 16.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.53:1 | AA pass 4.5:1 | |
| Label on primary | 6.84:1 | AA pass 4.5:1 | |
| Label on accent | 7.49:1 | AAA pass 4.5:1 | |
| Primary on background | 6.84:1 | AA pass 3:1 | |
| Accent on background | 7.49: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 | #F5F6EB (Text 1) | #7AA761 (Text 2) | #D1947F (Text 3) | #C1D6AD (Text 4) | #27321C (Text 5) |
|---|---|---|---|---|---|
| #F5F6EB | Same color | 2.56— | 2.33— | 1.43— | 12.35AAA |
| #7AA761 | 2.56— | Same color | 1.10— | 1.79— | 4.83AA |
| #D1947F | 2.33— | 1.10— | Same color | 1.63— | 5.29AA |
| #C1D6AD | 1.43— | 1.79— | 1.63— | Same color | 8.65AAA |
| #27321C | 12.35AAA | 4.83AA | 5.29AA | 8.65AAA | Same color |
Shades
Shades and tints (50–950)
