PreviewingGo to this paletteOpen in generator
Code
/* Natural Colors — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #32CD32;
--color-3: #DC143C;
--color-4: #FFD700;
--color-5: #F5DEB3;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #008808;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #32CD32;
--color-on-accent: #1B0A03;
}
}
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 #F5DEB3 | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #32CD32 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.64:1 | AA pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.68:1 | AAA pass 4.5:1 | |
| Text on surface | 13.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 9.08:1 | AAA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 9.08: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 | #8B4513 (Text 1) | #32CD32 (Text 2) | #DC143C (Text 3) | #FFD700 (Text 4) | #F5DEB3 (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 3.35AA Large | 1.42— | 5.06AA | 5.40AA |
| #32CD32 | 3.35AA Large | Same color | 2.36— | 1.51— | 1.61— |
| #DC143C | 1.42— | 2.36— | Same color | 3.56AA Large | 3.80AA Large |
| #FFD700 | 5.06AA | 1.51— | 3.56AA Large | Same color | 1.07— |
| #F5DEB3 | 5.40AA | 1.61— | 3.80AA Large | 1.07— | Same color |
Shades
Shades and tints (50–950)
