PreviewingGo to this paletteOpen in generator
Code
/* Ocean Mix — colorset.net */
:root {
--color-1: #00CED1;
--color-2: #FFD700;
--color-3: #FFFFFF;
--color-4: #FF6347;
--color-5: #32CD32;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #7E3F33;
--color-muted: #876963;
--color-primary: #00A40B;
--color-on-primary: #000000;
--color-accent: #F4593D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0906;
--color-surface: #27130F;
--color-border: #402621;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #32CD32;
--color-on-primary: #1C0906;
--color-accent: #FF6347;
--color-on-accent: #1C0906;
}
}
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 3 | adjusted for contrast · from #FF6347 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF6347 | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32CD32 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF6347 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.32:1 | AA pass 4.5:1 | |
| Label on accent | 6.34:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.25:1 | AAA pass 4.5:1 | |
| Text on surface | 17.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.95:1 | AA pass 4.5:1 | |
| Label on primary | 9.09:1 | AAA pass 4.5:1 | |
| Label on accent | 6.53:1 | AA pass 4.5:1 | |
| Primary on background | 9.09:1 | AAA pass 3:1 | |
| Accent on background | 6.53:1 | AA 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 | #00CED1 (Text 1) | #FFD700 (Text 2) | #FFFFFF (Text 3) | #FF6347 (Text 4) | #32CD32 (Text 5) |
|---|---|---|---|---|---|
| #00CED1 | Same color | 1.39— | 1.95— | 1.51— | 1.08— |
| #FFD700 | 1.39— | Same color | 1.40— | 2.10— | 1.51— |
| #FFFFFF | 1.95— | 1.40— | Same color | 2.95— | 2.12— |
| #FF6347 | 1.51— | 2.10— | 2.95— | Same color | 1.39— |
| #32CD32 | 1.08— | 1.51— | 2.12— | 1.39— | Same color |
Shades
Shades and tints (50–950)
