PreviewingGo to this paletteOpen in generator
Code
/* Tatami Night — colorset.net */
:root {
--color-1: #23261F;
--color-2: #A7B08A;
--color-3: #C98E62;
--color-4: #4B5043;
--color-5: #EDEBE1;
--color-bg: #EDEBE1;
--color-surface: #F3F2EC;
--color-border: #D5D3C5;
--color-text: #23261F;
--color-muted: #666A61;
--color-primary: #9F673C;
--color-on-primary: #FFFFFF;
--color-accent: #838B66;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100D;
--color-surface: #191A17;
--color-border: #2C2F29;
--color-text: #EDEBE1;
--color-muted: #87857C;
--color-primary: #C98E62;
--color-on-primary: #0F100D;
--color-accent: #A7B08A;
--color-on-accent: #0F100D;
}
}
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 5 | adjusted for contrast · from #23261F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C98E62 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C98E62 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.84:1 | AAA pass 4.5:1 | |
| Text on surface | 13.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 5.85:1 | AA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 3.00:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.97:1 | AAA pass 4.5:1 | |
| Text on surface | 14.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.16:1 | AA pass 4.5:1 | |
| Label on primary | 6.84:1 | AA pass 4.5:1 | |
| Label on accent | 8.38:1 | AAA pass 4.5:1 | |
| Primary on background | 6.84:1 | AA pass 3:1 | |
| Accent on background | 8.38: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 | #23261F (Text 1) | #A7B08A (Text 2) | #C98E62 (Text 3) | #4B5043 (Text 4) | #EDEBE1 (Text 5) |
|---|---|---|---|---|---|
| #23261F | Same color | 6.74AA | 5.50AA | 1.85— | 12.84AAA |
| #A7B08A | 6.74AA | Same color | 1.22— | 3.65AA Large | 1.91— |
| #C98E62 | 5.50AA | 1.22— | Same color | 2.98— | 2.33— |
| #4B5043 | 1.85— | 3.65AA Large | 2.98— | Same color | 6.95AA |
| #EDEBE1 | 12.84AAA | 1.91— | 2.33— | 6.95AA | Same color |
Shades
Shades and tints (50–950)
