PreviewingGo to this paletteOpen in generator
Code
/* Tea Stain — colorset.net */
:root {
--color-1: #F1E7D6;
--color-2: #9C6B3E;
--color-3: #5E6E5A;
--color-4: #DCCBB0;
--color-5: #2A221B;
--color-bg: #F1E7D6;
--color-surface: #F5EFE5;
--color-border: #DACEBA;
--color-text: #2A221B;
--color-muted: #71675F;
--color-primary: #9C6B3E;
--color-on-primary: #FFFFFF;
--color-accent: #8B8273;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A221B;
--color-surface: #352D26;
--color-border: #4E4238;
--color-text: #F1E7D6;
--color-muted: #9D9484;
--color-primary: #9F6E41;
--color-on-primary: #000000;
--color-accent: #7F756D;
--color-on-accent: #000000;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #9C6B3E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9C6B3E | adjusted for contrast · from #5E6E5A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.76:1 | AAA pass 4.5:1 | |
| Text on surface | 13.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.50:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.54:1 | AA pass 4.5:1 | |
| Primary on background | 3.74:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.76:1 | AAA pass 4.5:1 | |
| Text on surface | 11.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 3.56:1 | AA Large pass 3:1 | |
| Accent on background | 3.48:1 | AA Large 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 | #F1E7D6 (Text 1) | #9C6B3E (Text 2) | #5E6E5A (Text 3) | #DCCBB0 (Text 4) | #2A221B (Text 5) |
|---|---|---|---|---|---|
| #F1E7D6 | Same color | 3.74AA Large | 4.45AA Large | 1.30— | 12.76AAA |
| #9C6B3E | 3.74AA Large | Same color | 1.19— | 2.88— | 3.41AA Large |
| #5E6E5A | 4.45AA Large | 1.19— | Same color | 3.43AA Large | 2.87— |
| #DCCBB0 | 1.30— | 2.88— | 3.43AA Large | Same color | 9.84AAA |
| #2A221B | 12.76AAA | 3.41AA Large | 2.87— | 9.84AAA | Same color |
Shades
Shades and tints (50–950)
