PreviewingGo to this paletteOpen in generator
Code
/* Professional Mix — colorset.net */
:root {
--color-1: #228B22;
--color-2: #4169E1;
--color-3: #FFD700;
--color-4: #FF69B4;
--color-5: #9370DB;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #E4DAB5;
--color-muted: #8C856A;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #FFD700;
--color-on-accent: #061305;
}
}
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 #FFD700 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.52:1 | AA pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 13.57:1 | AAA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 13.57: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 | #228B22 (Text 1) | #4169E1 (Text 2) | #FFD700 (Text 3) | #FF69B4 (Text 4) | #9370DB (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 1.10— | 3.13AA Large | 1.66— | 1.17— |
| #4169E1 | 1.10— | Same color | 3.46AA Large | 1.83— | 1.29— |
| #FFD700 | 3.13AA Large | 3.46AA Large | Same color | 1.89— | 2.68— |
| #FF69B4 | 1.66— | 1.83— | 1.89— | Same color | 1.42— |
| #9370DB | 1.17— | 1.29— | 2.68— | 1.42— | Same color |
Shades
Shades and tints (50–950)
