PreviewingGo to this paletteOpen in generator
Code
/* Whitewashed Wall — colorset.net */
:root {
--color-1: #FFFFFF;
--color-2: #FFFFFC;
--color-3: #FFFFF9;
--color-4: #FFFFF6;
--color-5: #FFFFF3;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #525248;
--color-muted: #707066;
--color-primary: #8F8F84;
--color-on-primary: #000000;
--color-accent: #5D5D55;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10100C;
--color-surface: #1A1A16;
--color-border: #2E2E28;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #FFFFF3;
--color-on-primary: #10100C;
--color-accent: #C7C7BD;
--color-on-accent: #10100C;
}
}
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 #FFFFF3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFFF3 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFFF3 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFFF3 | adjusted for contrast · from #FFFFF3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.43:1 | AA pass 4.5:1 | |
| Label on accent | 6.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.64:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.07:1 | AAA pass 4.5:1 | |
| Text on surface | 17.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.90:1 | AA pass 4.5:1 | |
| Label on primary | 18.93:1 | AAA pass 4.5:1 | |
| Label on accent | 11.20:1 | AAA pass 4.5:1 | |
| Primary on background | 18.93:1 | AAA pass 3:1 | |
| Accent on background | 11.20: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 | #FFFFFF (Text 1) | #FFFFFC (Text 2) | #FFFFF9 (Text 3) | #FFFFF6 (Text 4) | #FFFFF3 (Text 5) |
|---|---|---|---|---|---|
| #FFFFFF | Same color | 1.00— | 1.00— | 1.01— | 1.01— |
| #FFFFFC | 1.00— | Same color | 1.00— | 1.00— | 1.01— |
| #FFFFF9 | 1.00— | 1.00— | Same color | 1.00— | 1.00— |
| #FFFFF6 | 1.01— | 1.00— | 1.00— | Same color | 1.00— |
| #FFFFF3 | 1.01— | 1.01— | 1.00— | 1.00— | Same color |
Shades
Shades and tints (50–950)
