PreviewingGo to this paletteOpen in generator
Code
/* Eucalyptus Slate — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #4A6A6A;
--color-3: #658585;
--color-4: #80A0A0;
--color-5: #9BBBBB;
--color-bg: #EFF9F9;
--color-surface: #E6F0F0;
--color-border: #CAD8D8;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #658585;
--color-on-primary: #000000;
--color-accent: #4A6A6A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #9BBBBB;
--color-muted: #6A8989;
--color-primary: #658585;
--color-on-primary: #071111;
--color-accent: #4D6E6E;
--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 | adjusted for contrast · from #9BBBBB | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4A6A6A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.33:1 | AAA pass 4.5:1 | |
| Text on surface | 7.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.25:1 | AA pass 4.5:1 | |
| Label on accent | 5.90:1 | AA pass 4.5:1 | |
| Primary on background | 3.73:1 | AA Large pass 3:1 | |
| Accent on background | 5.50:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.31:1 | AAA pass 4.5:1 | |
| Text on surface | 8.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 5.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.78:1 | AA pass 3:1 | |
| Accent on background | 3.44: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 | #2F4F4F (Text 1) | #4A6A6A (Text 2) | #658585 (Text 3) | #80A0A0 (Text 4) | #9BBBBB (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Same color | 1.51— | 2.23— | 3.17AA Large | 4.34AA Large |
| #4A6A6A | 1.51— | Same color | 1.47— | 2.09— | 2.87— |
| #658585 | 2.23— | 1.47— | Same color | 1.42— | 1.95— |
| #80A0A0 | 3.17AA Large | 2.09— | 1.42— | Same color | 1.37— |
| #9BBBBB | 4.34AA Large | 2.87— | 1.95— | 1.37— | Same color |
Shades
Shades and tints (50–950)
