PreviewingGo to this paletteOpen in generator
Code
/* Rich Mix — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #FFD700;
--color-3: #228B22;
--color-4: #F5DEB3;
--color-5: #A0522D;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #70322A;
--color-muted: #82645F;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #8B0000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #B73A2D;
--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 #F5DEB3 | adjusted for contrast · from #8B0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B0000 | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #A0522D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.97:1 | AAA pass 4.5:1 | |
| Text on surface | 8.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 10.01:1 | AAA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 9.31:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.68:1 | AAA pass 4.5:1 | |
| Text on surface | 13.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #8B0000 (Text 1) | #FFD700 (Text 2) | #228B22 (Text 3) | #F5DEB3 (Text 4) | #A0522D (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 7.14AAA | 2.28— | 7.62AAA | 1.78— |
| #FFD700 | 7.14AAA | Same color | 3.13AA Large | 1.07— | 4.00AA Large |
| #228B22 | 2.28— | 3.13AA Large | Same color | 3.34AA Large | 1.28— |
| #F5DEB3 | 7.62AAA | 1.07— | 3.34AA Large | Same color | 4.27AA Large |
| #A0522D | 1.78— | 4.00AA Large | 1.28— | 4.27AA Large | Same color |
Shades
Shades and tints (50–950)
