PreviewingGo to this paletteOpen in generator
Code
/* Obsidian Honey — colorset.net */
:root {
--color-1: #0F0E0C;
--color-2: #E0A82E;
--color-3: #F2D58A;
--color-4: #3D3528;
--color-5: #F5EFE0;
--color-bg: #F5EFE0;
--color-surface: #FAF6ED;
--color-border: #DED6C4;
--color-text: #0F0E0C;
--color-muted: #63625F;
--color-primary: #B28100;
--color-on-primary: #0F0E0C;
--color-accent: #3D3528;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0E0C;
--color-surface: #191816;
--color-border: #2F2C27;
--color-text: #F5EFE0;
--color-muted: #8C8679;
--color-primary: #E0A82E;
--color-on-primary: #0F0E0C;
--color-accent: #656462;
--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 5 | 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 #E0A82E | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #3D3528 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.82:1 | AAA pass 4.5:1 | |
| Text on surface | 17.89:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 5.54:1 | AA pass 4.5:1 | |
| Label on accent | 12.08:1 | AAA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 10.53:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.82:1 | AAA pass 4.5:1 | |
| Text on surface | 15.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 9.01:1 | AAA pass 4.5:1 | |
| Label on accent | 5.91:1 | AA pass 4.5:1 | |
| Primary on background | 9.01:1 | AAA pass 3:1 | |
| Accent on background | 3.26: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 | #0F0E0C (Text 1) | #E0A82E (Text 2) | #F2D58A (Text 3) | #3D3528 (Text 4) | #F5EFE0 (Text 5) |
|---|---|---|---|---|---|
| #0F0E0C | Same color | 9.01AAA | 13.47AAA | 1.60— | 16.82AAA |
| #E0A82E | 9.01AAA | Same color | 1.49— | 5.64AA | 1.87— |
| #F2D58A | 13.47AAA | 1.49— | Same color | 8.43AAA | 1.25— |
| #3D3528 | 1.60— | 5.64AA | 8.43AAA | Same color | 10.53AAA |
| #F5EFE0 | 16.82AAA | 1.87— | 1.25— | 10.53AAA | Same color |
Shades
Shades and tints (50–950)
