PreviewingGo to this paletteOpen in generator
Code
/* Cypress Green — colorset.net */
:root {
--color-1: #2F4F3F;
--color-2: #436953;
--color-3: #578367;
--color-4: #6B9D7B;
--color-5: #7FB78F;
--color-bg: #EDFBF0;
--color-surface: #E4F2E7;
--color-border: #C9DACD;
--color-text: #2F4F3F;
--color-muted: #557062;
--color-primary: #578367;
--color-on-primary: #000000;
--color-accent: #436953;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #08120D;
--color-surface: #121C17;
--color-border: #23322A;
--color-text: #90B199;
--color-muted: #708976;
--color-primary: #578367;
--color-on-primary: #000000;
--color-accent: #4D6E5D;
--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 #7FB78F | adjusted for contrast · from #2F4F3F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #7FB78F |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #436953 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.51:1 | AAA pass 4.5:1 | |
| Text on surface | 7.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 6.21:1 | AA pass 4.5:1 | |
| Primary on background | 4.06:1 | AA Large pass 3:1 | |
| Accent on background | 5.81:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.10:1 | AAA pass 4.5:1 | |
| Text on surface | 7.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.40:1 | AA Large pass 3:1 | |
| Accent on background | 3.36: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 | #2F4F3F (Text 1) | #436953 (Text 2) | #578367 (Text 3) | #6B9D7B (Text 4) | #7FB78F (Text 5) |
|---|---|---|---|---|---|
| #2F4F3F | Same color | 1.46— | 2.10— | 2.91— | 3.93AA Large |
| #436953 | 1.46— | Same color | 1.43— | 1.99— | 2.68— |
| #578367 | 2.10— | 1.43— | Same color | 1.39— | 1.87— |
| #6B9D7B | 2.91— | 1.99— | 1.39— | Same color | 1.35— |
| #7FB78F | 3.93AA Large | 2.68— | 1.87— | 1.35— | Same color |
Shades
Shades and tints (50–950)
