PreviewingGo to this paletteOpen in generator
Code
/* Function Colors — colorset.net */
:root {
--color-1: #FF9500;
--color-2: #FFCC02;
--color-3: #34D399;
--color-4: #60A5FA;
--color-5: #A78BFA;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #52457C;
--color-muted: #6C6781;
--color-primary: #AE6400;
--color-on-primary: #FFFFFF;
--color-accent: #3176C7;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100C1D;
--color-surface: #1A1628;
--color-border: #2F2A40;
--color-text: #DFD2AE;
--color-muted: #8A8166;
--color-primary: #FF9500;
--color-on-primary: #100C1D;
--color-accent: #60A5FA;
--color-on-accent: #100C1D;
}
}
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 #FFCC02 | adjusted for contrast · from #A78BFA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A78BFA | adjusted for contrast · from #FFCC02 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF9500 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #60A5FA | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.79:1 | AAA pass 4.5:1 | |
| Text on surface | 11.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 8.74:1 | AAA pass 4.5:1 | |
| Label on accent | 7.56:1 | AAA pass 4.5:1 | |
| Primary on background | 8.74:1 | AAA pass 3:1 | |
| Accent on background | 7.56: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 | #FF9500 (Text 1) | #FFCC02 (Text 2) | #34D399 (Text 3) | #60A5FA (Text 4) | #A78BFA (Text 5) |
|---|---|---|---|---|---|
| #FF9500 | Same color | 1.45— | 1.14— | 1.16— | 1.24— |
| #FFCC02 | 1.45— | Same color | 1.27— | 1.68— | 1.80— |
| #34D399 | 1.14— | 1.27— | Same color | 1.32— | 1.42— |
| #60A5FA | 1.16— | 1.68— | 1.32— | Same color | 1.07— |
| #A78BFA | 1.24— | 1.80— | 1.42— | 1.07— | Same color |
Shades
Shades and tints (50–950)
