PreviewingGo to this paletteOpen in generator
Code
/* Matcha Room — colorset.net */
:root {
--color-1: #F1EFE6;
--color-2: #6E8B5B;
--color-3: #C2895E;
--color-4: #CFCAB8;
--color-5: #262822;
--color-bg: #F1EFE6;
--color-surface: #F7F6F1;
--color-border: #D9D6CA;
--color-text: #262822;
--color-muted: #6A6C65;
--color-primary: #6E8B5B;
--color-on-primary: #000000;
--color-accent: #B57D52;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100E;
--color-surface: #191A18;
--color-border: #2D2F29;
--color-text: #F1EFE6;
--color-muted: #89877F;
--color-primary: #6E8B5B;
--color-on-primary: #0F100E;
--color-accent: #C2895E;
--color-on-accent: #0F100E;
}
}
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 #262822 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C2895E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.94:1 | AAA pass 4.5:1 | |
| Text on surface | 13.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 5.51:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.56:1 | AAA pass 4.5:1 | |
| Text on surface | 15.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 5.00:1 | AA pass 4.5:1 | |
| Label on accent | 6.39:1 | AA pass 4.5:1 | |
| Primary on background | 5.00:1 | AA pass 3:1 | |
| Accent on background | 6.39:1 | AA 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 | #F1EFE6 (Text 1) | #6E8B5B (Text 2) | #C2895E (Text 3) | #CFCAB8 (Text 4) | #262822 (Text 5) |
|---|---|---|---|---|---|
| #F1EFE6 | Same color | 3.31AA Large | 2.59— | 1.42— | 12.94AAA |
| #6E8B5B | 3.31AA Large | Same color | 1.28— | 2.32— | 3.91AA Large |
| #C2895E | 2.59— | 1.28— | Same color | 1.82— | 4.99AA |
| #CFCAB8 | 1.42— | 2.32— | 1.82— | Same color | 9.08AAA |
| #262822 | 12.94AAA | 3.91AA Large | 4.99AA | 9.08AAA | Same color |
Shades
Shades and tints (50–950)
