PreviewingGo to this paletteOpen in generator
Code
/* Compiler Orange — colorset.net */
:root {
--color-1: #F2F5F9;
--color-2: #F19024;
--color-3: #1F2D4C;
--color-4: #BF5914;
--color-5: #14161B;
--color-bg: #F2F5F9;
--color-surface: #FAFCFF;
--color-border: #D7DCE4;
--color-text: #14161B;
--color-muted: #676A70;
--color-primary: #BF5914;
--color-on-primary: #FFFFFF;
--color-accent: #1F2D4C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #14161B;
--color-surface: #1E2026;
--color-border: #32353E;
--color-text: #F2F5F9;
--color-muted: #8B8E92;
--color-primary: #BF5914;
--color-on-primary: #FFFFFF;
--color-accent: #5B6C8F;
--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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #BF5914 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.55:1 | AAA pass 4.5:1 | |
| Text on surface | 17.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 13.65:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 12.49:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.55:1 | AAA pass 4.5:1 | |
| Text on surface | 14.89:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.27:1 | AA pass 4.5:1 | |
| Primary on background | 4.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.44: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 | #F2F5F9 (Text 1) | #F19024 (Text 2) | #1F2D4C (Text 3) | #BF5914 (Text 4) | #14161B (Text 5) |
|---|---|---|---|---|---|
| #F2F5F9 | Same color | 2.19— | 12.49AAA | 4.13AA Large | 16.55AAA |
| #F19024 | 2.19— | Same color | 5.69AA | 1.88— | 7.55AAA |
| #1F2D4C | 12.49AAA | 5.69AA | Same color | 3.03AA Large | 1.33— |
| #BF5914 | 4.13AA Large | 1.88— | 3.03AA Large | Same color | 4.01AA Large |
| #14161B | 16.55AAA | 7.55AAA | 1.33— | 4.01AA Large | Same color |
Shades
Shades and tints (50–950)
