PreviewingGo to this paletteOpen in generator
Code
/* Digital Orange — colorset.net */
:root {
--color-1: #0A0A0A;
--color-2: #7C2D12;
--color-3: #DC2626;
--color-4: #F97316;
--color-5: #FACC15;
--color-bg: #FBF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #0A0A0A;
--color-muted: #616161;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #8D7100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0A0A;
--color-surface: #141414;
--color-border: #2A2727;
--color-text: #DDD1AD;
--color-muted: #898065;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #FACC15;
--color-on-accent: #0A0A0A;
}
}
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 #FACC15 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #FACC15 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7C2D12 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.45:1 | AAA pass 4.5:1 | |
| Text on surface | 16.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.77:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.50:1 | AA pass 3:1 | |
| Accent on background | 4.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.01:1 | AAA pass 4.5:1 | |
| Text on surface | 12.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 12.93:1 | AAA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 12.93: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 | #0A0A0A (Text 1) | #7C2D12 (Text 2) | #DC2626 (Text 3) | #F97316 (Text 4) | #FACC15 (Text 5) |
|---|---|---|---|---|---|
| #0A0A0A | Same color | 2.11— | 4.10AA Large | 7.06AAA | 12.93AAA |
| #7C2D12 | 2.11— | Same color | 1.94— | 3.34AA Large | 6.12AA |
| #DC2626 | 4.10AA Large | 1.94— | Same color | 1.72— | 3.15AA Large |
| #F97316 | 7.06AAA | 3.34AA Large | 1.72— | Same color | 1.83— |
| #FACC15 | 12.93AAA | 6.12AA | 3.15AA Large | 1.83— | Same color |
Shades
Shades and tints (50–950)
