PreviewingGo to this paletteOpen in generator
Code
/* Nature Mix — colorset.net */
:root {
--color-1: #6B4423;
--color-2: #228B22;
--color-3: #4682B4;
--color-4: #F0E68C;
--color-5: #FFFAFA;
--color-bg: #FFFAFA;
--color-surface: #F6F1F1;
--color-border: #E0D7D7;
--color-text: #6B4423;
--color-muted: #816A58;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #3D79AA;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C04;
--color-surface: #23160C;
--color-border: #3B2A1D;
--color-text: #FFFAFA;
--color-muted: #918C8C;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #3D79AA;
--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 5 | adjusted for contrast · from #6B4423 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.20:1 | AAA pass 4.5:1 | |
| Text on surface | 7.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 4.42:1 | AA Large pass 3:1 | |
| Accent on background | 4.50:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.53:1 | AAA pass 4.5:1 | |
| Text on surface | 17.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.78:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 4.12: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 | #6B4423 (Text 1) | #228B22 (Text 2) | #4682B4 (Text 3) | #F0E68C (Text 4) | #FFFAFA (Text 5) |
|---|---|---|---|---|---|
| #6B4423 | Same color | 1.93— | 2.06— | 6.62AA | 8.20AAA |
| #228B22 | 1.93— | Same color | 1.07— | 3.43AA Large | 4.24AA Large |
| #4682B4 | 2.06— | 1.07— | Same color | 3.21AA Large | 3.97AA Large |
| #F0E68C | 6.62AA | 3.43AA Large | 3.21AA Large | Same color | 1.24— |
| #FFFAFA | 8.20AAA | 4.24AA Large | 3.97AA Large | 1.24— | Same color |
Shades
Shades and tints (50–950)
