PreviewingGo to this paletteOpen in generator
Code
/* Kelp Dark — colorset.net */
:root {
--color-1: #2D4438;
--color-2: #3F5C4A;
--color-3: #52745C;
--color-4: #658C6E;
--color-5: #78A480;
--color-bg: #EEFBF0;
--color-surface: #E5F2E6;
--color-border: #CADACC;
--color-text: #2D4438;
--color-muted: #577062;
--color-primary: #658C6E;
--color-on-primary: #000000;
--color-accent: #3F5C4A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A110D;
--color-surface: #141C17;
--color-border: #25312B;
--color-text: #8EAD93;
--color-muted: #728976;
--color-primary: #658C6E;
--color-on-primary: #0A110D;
--color-accent: #536B5E;
--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 #78A480 | adjusted for contrast · from #2D4438 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #78A480 |
| 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 #52745C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.87:1 | AAA pass 4.5:1 | |
| Text on surface | 9.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.39:1 | AAA pass 4.5:1 | |
| Primary on background | 3.56:1 | AA Large pass 3:1 | |
| Accent on background | 6.93:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.03:1 | AA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 5.03:1 | AA pass 3:1 | |
| Accent on background | 3.31: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 | #2D4438 (Text 1) | #3F5C4A (Text 2) | #52745C (Text 3) | #658C6E (Text 4) | #78A480 (Text 5) |
|---|---|---|---|---|---|
| #2D4438 | Same color | 1.42— | 2.01— | 2.77— | 3.72AA Large |
| #3F5C4A | 1.42— | Same color | 1.41— | 1.95— | 2.61— |
| #52745C | 2.01— | 1.41— | Same color | 1.38— | 1.85— |
| #658C6E | 2.77— | 1.95— | 1.38— | Same color | 1.34— |
| #78A480 | 3.72AA Large | 2.61— | 1.85— | 1.34— | Same color |
Shades
Shades and tints (50–950)
