PreviewingGo to this paletteOpen in generator
Code
/* Kelp Forest — colorset.net */
:root {
--color-1: #0F2420;
--color-2: #4DB39A;
--color-3: #E8A85A;
--color-4: #1E3D37;
--color-5: #E7F3EF;
--color-bg: #E7F3EF;
--color-surface: #F2F9F7;
--color-border: #CBDBD6;
--color-text: #0F2420;
--color-muted: #5B726C;
--color-primary: #2F9A82;
--color-on-primary: #0F2420;
--color-accent: #BA7D2A;
--color-on-accent: #0F2420;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F2420;
--color-surface: #1A2F2B;
--color-border: #2C4641;
--color-text: #E7F3EF;
--color-muted: #8B9693;
--color-primary: #4DB39A;
--color-on-primary: #0F2420;
--color-accent: #E8A85A;
--color-on-accent: #0F2420;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4DB39A | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E8A85A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.27:1 | AAA pass 4.5:1 | |
| Text on surface | 15.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.27:1 | AAA pass 4.5:1 | |
| Text on surface | 12.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 6.36:1 | AA pass 4.5:1 | |
| Label on accent | 7.87:1 | AAA pass 4.5:1 | |
| Primary on background | 6.36:1 | AA pass 3:1 | |
| Accent on background | 7.87: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 | #0F2420 (Text 1) | #4DB39A (Text 2) | #E8A85A (Text 3) | #1E3D37 (Text 4) | #E7F3EF (Text 5) |
|---|---|---|---|---|---|
| #0F2420 | Same color | 6.36AA | 7.87AAA | 1.37— | 14.27AAA |
| #4DB39A | 6.36AA | Same color | 1.24— | 4.63AA | 2.24— |
| #E8A85A | 7.87AAA | 1.24— | Same color | 5.73AA | 1.81— |
| #1E3D37 | 1.37— | 4.63AA | 5.73AA | Same color | 10.39AAA |
| #E7F3EF | 14.27AAA | 2.24— | 1.81— | 10.39AAA | Same color |
Shades
Shades and tints (50–950)
