PreviewingGo to this paletteOpen in generator
Code
/* Clay And Cactus — colorset.net */
:root {
--color-1: #F2E8D8;
--color-2: #B5654A;
--color-3: #4F7A5A;
--color-4: #D7B98E;
--color-5: #2D2A22;
--color-bg: #F2E8D8;
--color-surface: #F6F0E6;
--color-border: #DBCFBC;
--color-text: #2D2A22;
--color-muted: #6C685F;
--color-primary: #AE5F44;
--color-on-primary: #FFFFFF;
--color-accent: #4F7A5A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0D;
--color-surface: #1A1916;
--color-border: #302E28;
--color-text: #F2E8D8;
--color-muted: #8C8374;
--color-primary: #AE5F44;
--color-on-primary: #FFFFFF;
--color-accent: #4F7A5A;
--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 | from palette · color 1 | adjusted for contrast · from #2D2A22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B5654A | adjusted for contrast · from #B5654A |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.81:1 | AAA pass 4.5:1 | |
| Text on surface | 12.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.93:1 | AA pass 4.5:1 | |
| Primary on background | 3.83:1 | AA Large pass 3:1 | |
| Accent on background | 4.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.79:1 | AAA pass 4.5:1 | |
| Text on surface | 14.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.93:1 | AA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 3.89: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 | #F2E8D8 (Text 1) | #B5654A (Text 2) | #4F7A5A (Text 3) | #D7B98E (Text 4) | #2D2A22 (Text 5) |
|---|---|---|---|---|---|
| #F2E8D8 | Same color | 3.51AA Large | 4.06AA Large | 1.54— | 11.81AAA |
| #B5654A | 3.51AA Large | Same color | 1.16— | 2.28— | 3.36AA Large |
| #4F7A5A | 4.06AA Large | 1.16— | Same color | 2.63— | 2.91— |
| #D7B98E | 1.54— | 2.28— | 2.63— | Same color | 7.65AAA |
| #2D2A22 | 11.81AAA | 3.36AA Large | 2.91— | 7.65AAA | Same color |
Shades
Shades and tints (50–950)
