PreviewingGo to this paletteOpen in generator
Code
/* Pea Shoot — colorset.net */
:root {
--color-1: #F5FAEE;
--color-2: #6FA83C;
--color-3: #DB7B5E;
--color-4: #DCEBC8;
--color-5: #222B1C;
--color-bg: #F5FAEE;
--color-surface: #ECF1E5;
--color-border: #D2D9C9;
--color-text: #222B1C;
--color-muted: #65705F;
--color-primary: #60982A;
--color-on-primary: #000000;
--color-accent: #CD6F52;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D110B;
--color-surface: #171B15;
--color-border: #2A3027;
--color-text: #F5FAEE;
--color-muted: #898E83;
--color-primary: #6FA83C;
--color-on-primary: #0D110B;
--color-accent: #DB7B5E;
--color-on-accent: #0D110B;
}
}
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 #222B1C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6FA83C | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DB7B5E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.84:1 | AAA pass 4.5:1 | |
| Text on surface | 12.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 6.02:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.96:1 | AAA pass 4.5:1 | |
| Text on surface | 16.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 6.66:1 | AA pass 4.5:1 | |
| Label on accent | 6.36:1 | AA pass 4.5:1 | |
| Primary on background | 6.66:1 | AA pass 3:1 | |
| Accent on background | 6.36:1 | AA 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 | #F5FAEE (Text 1) | #6FA83C (Text 2) | #DB7B5E (Text 3) | #DCEBC8 (Text 4) | #222B1C (Text 5) |
|---|---|---|---|---|---|
| #F5FAEE | Same color | 2.70— | 2.82— | 1.18— | 13.84AAA |
| #6FA83C | 2.70— | Same color | 1.05— | 2.28— | 5.13AA |
| #DB7B5E | 2.82— | 1.05— | Same color | 2.39— | 4.90AA |
| #DCEBC8 | 1.18— | 2.28— | 2.39— | Same color | 11.72AAA |
| #222B1C | 13.84AAA | 5.13AA | 4.90AA | 11.72AAA | Same color |
Shades
Shades and tints (50–950)
