PreviewingGo to this paletteOpen in generator
Code
/* Cypress Swamp — colorset.net */
:root {
--color-1: #193F35;
--color-2: #2B5C4C;
--color-3: #3D735F;
--color-4: #588B76;
--color-5: #76A696;
--color-bg: #ECFBF5;
--color-surface: #E3F1EC;
--color-border: #C7DAD3;
--color-text: #193F35;
--color-muted: #527268;
--color-primary: #588B76;
--color-on-primary: #000000;
--color-accent: #2B5C4C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #07120F;
--color-surface: #101C19;
--color-border: #21322D;
--color-text: #84AEA0;
--color-muted: #6A8A7F;
--color-primary: #588B76;
--color-on-primary: #07120F;
--color-accent: #486E63;
--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 #76A696 | adjusted for contrast · from #193F35 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #76A696 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #3D735F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.91:1 | AAA pass 4.5:1 | |
| Text on surface | 10.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.37:1 | AA pass 4.5:1 | |
| Label on accent | 7.67:1 | AAA pass 4.5:1 | |
| Primary on background | 3.67:1 | AA Large pass 3:1 | |
| Accent on background | 7.19:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.87:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 4.87:1 | AA pass 3:1 | |
| Accent on background | 3.34: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 | #193F35 (Text 1) | #2B5C4C (Text 2) | #3D735F (Text 3) | #588B76 (Text 4) | #76A696 (Text 5) |
|---|---|---|---|---|---|
| #193F35 | Same color | 1.52— | 2.12— | 2.98— | 4.25AA Large |
| #2B5C4C | 1.52— | Same color | 1.39— | 1.96— | 2.80— |
| #3D735F | 2.12— | 1.39— | Same color | 1.41— | 2.01— |
| #588B76 | 2.98— | 1.96— | 1.41— | Same color | 1.43— |
| #76A696 | 4.25AA Large | 2.80— | 2.01— | 1.43— | Same color |
Shades
Shades and tints (50–950)
