PreviewingGo to this paletteOpen in generator
Code
/* Oyster Bar — colorset.net */
:root {
--color-1: #EEF7F9;
--color-2: #1A5F6D;
--color-3: #EC8E76;
--color-4: #A1C5CC;
--color-5: #081E24;
--color-bg: #EEF7F9;
--color-surface: #F8FEFF;
--color-border: #D2DFE2;
--color-text: #081E24;
--color-muted: #5A7279;
--color-primary: #D1755E;
--color-on-primary: #081E24;
--color-accent: #1A5F6D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081E24;
--color-surface: #13292F;
--color-border: #253F47;
--color-text: #EEF7F9;
--color-muted: #8A9294;
--color-primary: #EC8E76;
--color-on-primary: #081E24;
--color-accent: #387988;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EC8E76 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1A5F6D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.81:1 | AAA pass 4.5:1 | |
| Text on surface | 16.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 5.25:1 | AA pass 4.5:1 | |
| Label on accent | 7.24:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 6.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.81:1 | AAA pass 4.5:1 | |
| Text on surface | 13.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 7.12:1 | AAA pass 4.5:1 | |
| Label on accent | 4.93:1 | AA pass 4.5:1 | |
| Primary on background | 7.12:1 | AAA pass 3:1 | |
| Accent on background | 3.49: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 | #EEF7F9 (Text 1) | #1A5F6D (Text 2) | #EC8E76 (Text 3) | #A1C5CC (Text 4) | #081E24 (Text 5) |
|---|---|---|---|---|---|
| #EEF7F9 | Same color | 6.65AA | 2.22— | 1.70— | 15.81AAA |
| #1A5F6D | 6.65AA | Same color | 3.00AA Large | 3.92AA Large | 2.38— |
| #EC8E76 | 2.22— | 3.00AA Large | Same color | 1.31— | 7.12AAA |
| #A1C5CC | 1.70— | 3.92AA Large | 1.31— | Same color | 9.31AAA |
| #081E24 | 15.81AAA | 2.38— | 7.12AAA | 9.31AAA | Same color |
Shades
Shades and tints (50–950)
