PreviewingGo to this paletteOpen in generator
Code
/* River Clay Bank — colorset.net */
:root {
--color-1: #E9E1D2;
--color-2: #9A7B5F;
--color-3: #6E5A48;
--color-4: #7E9A8E;
--color-5: #2B2620;
--color-bg: #F9F6F2;
--color-surface: #F0EDE9;
--color-border: #D8D4CD;
--color-text: #2B2620;
--color-muted: #706A63;
--color-primary: #9A7B5F;
--color-on-primary: #000000;
--color-accent: #6E5A48;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0D;
--color-surface: #1B1917;
--color-border: #312D28;
--color-text: #E9E1D2;
--color-muted: #8A8275;
--color-primary: #9A7B5F;
--color-on-primary: #110F0D;
--color-accent: #6B665F;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #E9E1D2 | adjusted for contrast · from #2B2620 |
| 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 | from palette · color 3 | adjusted for contrast · from #6E5A48 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.91:1 | AAA pass 4.5:1 | |
| Text on surface | 12.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.37:1 | AA pass 4.5:1 | |
| Label on accent | 6.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.63:1 | AA Large pass 3:1 | |
| Accent on background | 6.06:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.72:1 | AAA pass 4.5:1 | |
| Text on surface | 13.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 5.69:1 | AA pass 4.5:1 | |
| Primary on background | 4.89:1 | AA pass 3:1 | |
| Accent on background | 3.36: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 | #E9E1D2 (Text 1) | #9A7B5F (Text 2) | #6E5A48 (Text 3) | #7E9A8E (Text 4) | #2B2620 (Text 5) |
|---|---|---|---|---|---|
| #E9E1D2 | Same color | 3.01AA Large | 5.02AA | 2.34— | 11.54AAA |
| #9A7B5F | 3.01AA Large | Same color | 1.67— | 1.28— | 3.84AA Large |
| #6E5A48 | 5.02AA | 1.67— | Same color | 2.14— | 2.30— |
| #7E9A8E | 2.34— | 1.28— | 2.14— | Same color | 4.93AA |
| #2B2620 | 11.54AAA | 3.84AA Large | 2.30— | 4.93AA | Same color |
Shades
Shades and tints (50–950)
