PreviewingGo to this paletteOpen in generator
Code
/* Obsidian Mint — colorset.net */
:root {
--color-1: #040807;
--color-2: #071512;
--color-3: #102622;
--color-4: #249C74;
--color-5: #BBD1C4;
--color-bg: #F2F9F5;
--color-surface: #E9EFEB;
--color-border: #CED8D2;
--color-text: #040807;
--color-muted: #59605F;
--color-primary: #008661;
--color-on-primary: #FFFFFF;
--color-accent: #071512;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #040807;
--color-surface: #0C1110;
--color-border: #1C2624;
--color-text: #BBD1C4;
--color-muted: #6C8075;
--color-primary: #249C74;
--color-on-primary: #040807;
--color-accent: #5A6260;
--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 #BBD1C4 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #249C74 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #249C74 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.84:1 | AAA pass 4.5:1 | |
| Text on surface | 17.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 6.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 18.67:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 17.46:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.49:1 | AAA pass 4.5:1 | |
| Text on surface | 11.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.78:1 | AA pass 4.5:1 | |
| Label on primary | 5.83:1 | AA pass 4.5:1 | |
| Label on accent | 6.27:1 | AA pass 4.5:1 | |
| Primary on background | 5.83:1 | AA pass 3:1 | |
| Accent on background | 3.21: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 | #040807 (Text 1) | #071512 (Text 2) | #102622 (Text 3) | #249C74 (Text 4) | #BBD1C4 (Text 5) |
|---|---|---|---|---|---|
| #040807 | Same color | 1.08— | 1.27— | 5.83AA | 12.49AAA |
| #071512 | 1.08— | Same color | 1.18— | 5.41AA | 11.58AAA |
| #102622 | 1.27— | 1.18— | Same color | 4.60AA | 9.85AAA |
| #249C74 | 5.83AA | 5.41AA | 4.60AA | Same color | 2.14— |
| #BBD1C4 | 12.49AAA | 11.58AAA | 9.85AAA | 2.14— | Same color |
Shades
Shades and tints (50–950)
