PreviewingGo to this paletteOpen in generator
Code
/* Ocean Thunder — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #008080;
--color-3: #FF4500;
--color-4: #696969;
--color-5: #20B2AA;
--color-bg: #E9FBF9;
--color-surface: #DFF2F0;
--color-border: #C3DBD8;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #DC3A00;
--color-on-primary: #FFFFFF;
--color-accent: #00837D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #81B0AB;
--color-muted: #688B88;
--color-primary: #FF4500;
--color-on-primary: #071111;
--color-accent: #20B2AA;
--color-on-accent: #071111;
}
}
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 #20B2AA | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #20B2AA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF4500 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #008080 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.35:1 | AAA pass 4.5:1 | |
| Text on surface | 7.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.96:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.14:1 | AA pass 4.5:1 | |
| Label on primary | 5.56:1 | AA pass 4.5:1 | |
| Label on accent | 7.30:1 | AAA pass 4.5:1 | |
| Primary on background | 5.56:1 | AA pass 3:1 | |
| Accent on background | 7.30: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 | #2F4F4F (Text 1) | #008080 (Text 2) | #FF4500 (Text 3) | #696969 (Text 4) | #20B2AA (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Same color | 1.87— | 2.59— | 1.63— | 3.41AA Large |
| #008080 | 1.87— | Same color | 1.39— | 1.15— | 1.82— |
| #FF4500 | 2.59— | 1.39— | Same color | 1.60— | 1.31— |
| #696969 | 1.63— | 1.15— | 1.60— | Same color | 2.09— |
| #20B2AA | 3.41AA Large | 1.82— | 1.31— | 2.09— | Same color |
Shades
Shades and tints (50–950)
