PreviewingGo to this paletteOpen in generator
Code
/* Potting Shed — colorset.net */
:root {
--color-1: #228B22;
--color-2: #32CD32;
--color-3: #8B4513;
--color-4: #F4A460;
--color-5: #98FB98;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #AE6316;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #CCE8CB;
--color-muted: #748873;
--color-primary: #32CD32;
--color-on-primary: #1B0A03;
--color-accent: #9B5325;
--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 #98FB98 | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #98FB98 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B4513 | adjusted for contrast · from #8B4513 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.64:1 | AAA pass 4.5:1 | |
| Text on surface | 13.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 9.08:1 | AAA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 9.08:1 | AAA 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) | #32CD32 (Text 2) | #8B4513 (Text 3) | #F4A460 (Text 4) | #98FB98 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 2.07— | 1.62— | 2.16— | 3.47AA Large |
| #32CD32 | 2.07— | Same color | 3.35AA Large | 1.04— | 1.67— |
| #8B4513 | 1.62— | 3.35AA Large | Same color | 3.49AA Large | 5.61AA |
| #F4A460 | 2.16— | 1.04— | 3.49AA Large | Same color | 1.61— |
| #98FB98 | 3.47AA Large | 1.67— | 5.61AA | 1.61— | Same color |
Shades
Shades and tints (50–950)
