PreviewingGo to this paletteOpen in generator
Code
/* Sea Salt Soap — colorset.net */
:root {
--color-1: #D9ECEC;
--color-2: #A6D6D2;
--color-3: #7DB7BA;
--color-4: #D5CAAE;
--color-5: #5C8991;
--color-bg: #F2F8F8;
--color-surface: #E9EFEF;
--color-border: #CDD7D7;
--color-text: #28555C;
--color-muted: #4F7177;
--color-primary: #5C8991;
--color-on-primary: #000000;
--color-accent: #90866B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051214;
--color-surface: #0E1C1F;
--color-border: #1F3135;
--color-text: #D9ECEC;
--color-muted: #768787;
--color-primary: #5C8991;
--color-on-primary: #051214;
--color-accent: #D5CAAE;
--color-on-accent: #051214;
}
}
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 #D9ECEC | adjusted for contrast · from #5C8991 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5C8991 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5C8991 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 5.44:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 3.59:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.56:1 | AAA pass 4.5:1 | |
| Text on surface | 14.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.93:1 | AA pass 4.5:1 | |
| Label on accent | 11.68:1 | AAA pass 4.5:1 | |
| Primary on background | 4.93:1 | AA pass 3:1 | |
| Accent on background | 11.68: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 | #D9ECEC (Text 1) | #A6D6D2 (Text 2) | #7DB7BA (Text 3) | #D5CAAE (Text 4) | #5C8991 (Text 5) |
|---|---|---|---|---|---|
| #D9ECEC | Same color | 1.30— | 1.83— | 1.33— | 3.15AA Large |
| #A6D6D2 | 1.30— | Same color | 1.41— | 1.02— | 2.42— |
| #7DB7BA | 1.83— | 1.41— | Same color | 1.38— | 1.72— |
| #D5CAAE | 1.33— | 1.02— | 1.38— | Same color | 2.37— |
| #5C8991 | 3.15AA Large | 2.42— | 1.72— | 2.37— | Same color |
Shades
Shades and tints (50–950)
