PreviewingGo to this paletteOpen in generator
Code
/* Oat and Walnut — colorset.net */
:root {
--color-1: #F3EEE5;
--color-2: #8B6B4F;
--color-3: #8AA885;
--color-4: #D8CFC0;
--color-5: #292522;
--color-bg: #F3EEE5;
--color-surface: #F9F6F0;
--color-border: #DCD5C9;
--color-text: #292522;
--color-muted: #6E6966;
--color-primary: #8B6B4F;
--color-on-primary: #FFFFFF;
--color-accent: #728F6D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0E;
--color-surface: #1B1918;
--color-border: #312D2A;
--color-text: #F3EEE5;
--color-muted: #8B867E;
--color-primary: #8B6B4F;
--color-on-primary: #FFFFFF;
--color-accent: #8AA885;
--color-on-accent: #100F0E;
}
}
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 #292522 |
| 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 #8AA885 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.15:1 | AAA pass 4.5:1 | |
| Text on surface | 14.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 4.87:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.57: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 | 4.87:1 | AA pass 4.5:1 | |
| Label on accent | 7.31:1 | AAA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 7.31: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 | #F3EEE5 (Text 1) | #8B6B4F (Text 2) | #8AA885 (Text 3) | #D8CFC0 (Text 4) | #292522 (Text 5) |
|---|---|---|---|---|---|
| #F3EEE5 | Same color | 4.21AA Large | 2.27— | 1.34— | 13.15AAA |
| #8B6B4F | 4.21AA Large | Same color | 1.86— | 3.15AA Large | 3.12AA Large |
| #8AA885 | 2.27— | 1.86— | Same color | 1.70— | 5.80AA |
| #D8CFC0 | 1.34— | 3.15AA Large | 1.70— | Same color | 9.85AAA |
| #292522 | 13.15AAA | 3.12AA Large | 5.80AA | 9.85AAA | Same color |
Shades
Shades and tints (50–950)
