PreviewingGo to this paletteOpen in generator
Code
/* Earth Tone — colorset.net */
:root {
--color-1: #228B22;
--color-2: #90EE90;
--color-3: #FFD700;
--color-4: #FF8C00;
--color-5: #8B0000;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #70322A;
--color-muted: #82645F;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #8B0000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #B73A2D;
--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 | adjusted for contrast · from #90EE90 | adjusted for contrast · from #8B0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B0000 | adjusted for contrast · from #90EE90 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | from palette · color 5 | adjusted for contrast · from #8B0000 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.98:1 | AAA pass 4.5:1 | |
| Text on surface | 8.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 10.01:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 9.33:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.74:1 | AAA pass 4.5:1 | |
| Text on surface | 12.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #228B22 (Text 1) | #90EE90 (Text 2) | #FFD700 (Text 3) | #FF8C00 (Text 4) | #8B0000 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 3.10AA Large | 3.13AA Large | 1.88— | 2.28— |
| #90EE90 | 3.10AA Large | Same color | 1.01— | 1.65— | 7.06AAA |
| #FFD700 | 3.13AA Large | 1.01— | Same color | 1.66— | 7.14AAA |
| #FF8C00 | 1.88— | 1.65— | 1.66— | Same color | 4.29AA Large |
| #8B0000 | 2.28— | 7.06AAA | 7.14AAA | 4.29AA Large | Same color |
Shades
Shades and tints (50–950)
