PreviewingGo to this paletteOpen in generator
Code
/* Pixel Pet — colorset.net */
:root {
--color-1: #FFF8EC;
--color-2: #FF8A3D;
--color-3: #3DBFAE;
--color-4: #FFD9B3;
--color-5: #2B2420;
--color-bg: #FFF8EC;
--color-surface: #F6EFE3;
--color-border: #DFD6C7;
--color-text: #2B2420;
--color-muted: #716964;
--color-primary: #DC6A0D;
--color-on-primary: #000000;
--color-accent: #008477;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0D;
--color-surface: #1B1917;
--color-border: #322C29;
--color-text: #FFF8EC;
--color-muted: #928B81;
--color-primary: #FF8A3D;
--color-on-primary: #110F0D;
--color-accent: #3DBFAE;
--color-on-accent: #110F0D;
}
}
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 | adjusted for contrast · from #2B2420 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF8A3D | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3DBFAE | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.46:1 | AAA pass 4.5:1 | |
| Text on surface | 13.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 6.11:1 | AA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.12:1 | AAA pass 4.5:1 | |
| Text on surface | 16.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 8.16:1 | AAA pass 4.5:1 | |
| Label on accent | 8.44:1 | AAA pass 4.5:1 | |
| Primary on background | 8.16:1 | AAA pass 3:1 | |
| Accent on background | 8.44: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 | #FFF8EC (Text 1) | #FF8A3D (Text 2) | #3DBFAE (Text 3) | #FFD9B3 (Text 4) | #2B2420 (Text 5) |
|---|---|---|---|---|---|
| #FFF8EC | Same color | 2.22— | 2.15— | 1.26— | 14.46AAA |
| #FF8A3D | 2.22— | Same color | 1.03— | 1.77— | 6.51AA |
| #3DBFAE | 2.15— | 1.03— | Same color | 1.71— | 6.73AA |
| #FFD9B3 | 1.26— | 1.77— | 1.71— | Same color | 11.50AAA |
| #2B2420 | 14.46AAA | 6.51AA | 6.73AA | 11.50AAA | Same color |
Shades
Shades and tints (50–950)
