PreviewingGo to this paletteOpen in generator
Code
/* Community Garden — colorset.net */
:root {
--color-1: #F5F2E9;
--color-2: #5C8A3B;
--color-3: #C2577A;
--color-4: #E4D9B5;
--color-5: #2A2A22;
--color-bg: #F5F2E9;
--color-surface: #FBF9F4;
--color-border: #DDD9CD;
--color-text: #2A2A22;
--color-muted: #6F6F65;
--color-primary: #BB5174;
--color-on-primary: #FFFFFF;
--color-accent: #538132;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10100D;
--color-surface: #1A1A17;
--color-border: #2E2E28;
--color-text: #F5F2E9;
--color-muted: #8B8981;
--color-primary: #BB5174;
--color-on-primary: #FFFFFF;
--color-accent: #538132;
--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 1 | adjusted for contrast · from #2A2A22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C2577A | adjusted for contrast · from #C2577A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5C8A3B | adjusted for contrast · from #5C8A3B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.91:1 | AAA pass 4.5:1 | |
| Text on surface | 13.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 4.12:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.02:1 | AAA pass 4.5:1 | |
| Text on surface | 15.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 4.13: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 | #F5F2E9 (Text 1) | #5C8A3B (Text 2) | #C2577A (Text 3) | #E4D9B5 (Text 4) | #2A2A22 (Text 5) |
|---|---|---|---|---|---|
| #F5F2E9 | Same color | 3.64AA Large | 3.80AA Large | 1.26— | 12.91AAA |
| #5C8A3B | 3.64AA Large | Same color | 1.04— | 2.89— | 3.55AA Large |
| #C2577A | 3.80AA Large | 1.04— | Same color | 3.02AA Large | 3.40AA Large |
| #E4D9B5 | 1.26— | 2.89— | 3.02AA Large | Same color | 10.25AAA |
| #2A2A22 | 12.91AAA | 3.55AA Large | 3.40AA Large | 10.25AAA | Same color |
Shades
Shades and tints (50–950)
