PreviewingGo to this paletteOpen in generator
Code
/* Thyme Green — colorset.net */
:root {
--color-1: #5F7C6A;
--color-2: #73957E;
--color-3: #87AE92;
--color-4: #9BC7A6;
--color-5: #AFE0BA;
--color-bg: #EEFBF0;
--color-surface: #E4F2E7;
--color-border: #CADACD;
--color-text: #385443;
--color-muted: #577161;
--color-primary: #5F7C6A;
--color-on-primary: #FFFFFF;
--color-accent: #659471;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #09120C;
--color-surface: #131C16;
--color-border: #253129;
--color-text: #BBDCC2;
--color-muted: #708875;
--color-primary: #5F7C6A;
--color-on-primary: #FFFFFF;
--color-accent: #9BC7A6;
--color-on-accent: #09120C;
}
}
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 #AFE0BA | adjusted for contrast · from #5F7C6A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5F7C6A | adjusted for contrast · from #AFE0BA |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #73957E | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 6.03:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.80:1 | AAA pass 4.5:1 | |
| Text on surface | 11.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 10.07:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 10.07: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 | #5F7C6A (Text 1) | #73957E (Text 2) | #87AE92 (Text 3) | #9BC7A6 (Text 4) | #AFE0BA (Text 5) |
|---|---|---|---|---|---|
| #5F7C6A | Same color | 1.38— | 1.86— | 2.43— | 3.10AA Large |
| #73957E | 1.38— | Same color | 1.34— | 1.76— | 2.24— |
| #87AE92 | 1.86— | 1.34— | Same color | 1.31— | 1.67— |
| #9BC7A6 | 2.43— | 1.76— | 1.31— | Same color | 1.28— |
| #AFE0BA | 3.10AA Large | 2.24— | 1.67— | 1.28— | Same color |
Shades
Shades and tints (50–950)
