PreviewingGo to this paletteOpen in generator
Code
/* Tech Orange — colorset.net */
:root {
--color-1: #0F172A;
--color-2: #450A0A;
--color-3: #DC2626;
--color-4: #F97316;
--color-5: #FBBF24;
--color-bg: #FDF6E8;
--color-surface: #F4EDDF;
--color-border: #DDD4C3;
--color-text: #0F172A;
--color-muted: #616C83;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #967000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F172A;
--color-surface: #192236;
--color-border: #2D374C;
--color-text: #D9C8A5;
--color-muted: #95886F;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #FBBF24;
--color-on-accent: #0F172A;
}
}
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 #FBBF24 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #FBBF24 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F97316 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.60:1 | AAA pass 4.5:1 | |
| Text on surface | 15.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.49:1 | AA Large pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.84:1 | AAA pass 4.5:1 | |
| Text on surface | 9.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 10.69:1 | AAA pass 4.5:1 | |
| Primary on background | 3.70:1 | AA Large pass 3:1 | |
| Accent on background | 10.69: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 | #0F172A (Text 1) | #450A0A (Text 2) | #DC2626 (Text 3) | #F97316 (Text 4) | #FBBF24 (Text 5) |
|---|---|---|---|---|---|
| #0F172A | Same color | 1.11— | 3.70AA Large | 6.37AA | 10.69AAA |
| #450A0A | 1.11— | Same color | 3.34AA Large | 5.76AA | 9.67AAA |
| #DC2626 | 3.70AA Large | 3.34AA Large | Same color | 1.72— | 2.89— |
| #F97316 | 6.37AA | 5.76AA | 1.72— | Same color | 1.68— |
| #FBBF24 | 10.69AAA | 9.67AAA | 2.89— | 1.68— | Same color |
Shades
Shades and tints (50–950)
