PreviewingGo to this paletteOpen in generator
Code
/* Sand Atelier — colorset.net */
:root {
--color-1: #F6F1E9;
--color-2: #80512F;
--color-3: #6DAF92;
--color-4: #987A59;
--color-5: #301C0E;
--color-bg: #F6F1E9;
--color-surface: #FCF9F4;
--color-border: #DFD8CD;
--color-text: #301C0E;
--color-muted: #816858;
--color-primary: #987A59;
--color-on-primary: #000000;
--color-accent: #54967A;
--color-on-accent: #301C0E;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #301C0E;
--color-surface: #3C2719;
--color-border: #533D2E;
--color-text: #F6F1E9;
--color-muted: #96928B;
--color-primary: #987A59;
--color-on-primary: #000000;
--color-accent: #6DAF92;
--color-on-accent: #301C0E;
}
}
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 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6DAF92 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.39:1 | AAA pass 4.5:1 | |
| Text on surface | 15.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 5.26:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.39:1 | AAA pass 4.5:1 | |
| Text on surface | 12.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 5.26:1 | AA pass 4.5:1 | |
| Label on accent | 6.31:1 | AA pass 4.5:1 | |
| Primary on background | 4.05:1 | AA Large pass 3:1 | |
| Accent on background | 6.31:1 | AA 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 | #F6F1E9 (Text 1) | #80512F (Text 2) | #6DAF92 (Text 3) | #987A59 (Text 4) | #301C0E (Text 5) |
|---|---|---|---|---|---|
| #F6F1E9 | Same color | 5.96AA | 2.28— | 3.55AA Large | 14.39AAA |
| #80512F | 5.96AA | Same color | 2.61— | 1.68— | 2.42— |
| #6DAF92 | 2.28— | 2.61— | Same color | 1.56— | 6.31AA |
| #987A59 | 3.55AA Large | 1.68— | 1.56— | Same color | 4.05AA Large |
| #301C0E | 14.39AAA | 2.42— | 6.31AA | 4.05AA Large | Same color |
Shades
Shades and tints (50–950)
