PreviewingGo to this paletteOpen in generator
Code
/* Opal Sheen — colorset.net */
:root {
--color-1: #E6E6E6;
--color-2: #F0F0F0;
--color-3: #F5F5F5;
--color-4: #FAFAFA;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #545454;
--color-muted: #717171;
--color-primary: #8D8D8D;
--color-on-primary: #000000;
--color-accent: #5C5C5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #E6E6E6;
--color-on-primary: #0F0F0F;
--color-accent: #AFAFAF;
--color-on-accent: #0F0F0F;
}
}
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 | adjusted for contrast · from #E6E6E6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6E6E6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6E6E6 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6E6E6 | adjusted for contrast · from #E6E6E6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.57:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 6.33:1 | AA pass 4.5:1 | |
| Label on accent | 6.69:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.69:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.17:1 | AAA pass 4.5:1 | |
| Text on surface | 17.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 15.36:1 | AAA pass 4.5:1 | |
| Label on accent | 8.74:1 | AAA pass 4.5:1 | |
| Primary on background | 15.36:1 | AAA pass 3:1 | |
| Accent on background | 8.74: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 | #E6E6E6 (Text 1) | #F0F0F0 (Text 2) | #F5F5F5 (Text 3) | #FAFAFA (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #E6E6E6 | Same color | 1.10— | 1.14— | 1.20— | 1.25— |
| #F0F0F0 | 1.10— | Same color | 1.05— | 1.09— | 1.14— |
| #F5F5F5 | 1.14— | 1.05— | Same color | 1.04— | 1.09— |
| #FAFAFA | 1.20— | 1.09— | 1.04— | Same color | 1.04— |
| #FFFFFF | 1.25— | 1.14— | 1.09— | 1.04— | Same color |
Shades
Shades and tints (50–950)
