PreviewingGo to this paletteOpen in generator
Code
/* Peacock Fan — colorset.net */
:root {
--color-1: #009393;
--color-2: #154DE9;
--color-3: #00AF51;
--color-4: #E9CA00;
--color-5: #0A2163;
--color-bg: #FAF7E8;
--color-surface: #F1EEDF;
--color-border: #D9D5C3;
--color-text: #122555;
--color-muted: #5E6A81;
--color-primary: #154DE9;
--color-on-primary: #FFFFFF;
--color-accent: #877400;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242D42;
--color-text: #D3CBA7;
--color-muted: #898368;
--color-primary: #1E58F4;
--color-on-primary: #FFFFFF;
--color-accent: #E9CA00;
--color-on-accent: #080F1F;
}
}
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 #E9CA00 | adjusted for contrast · from #0A2163 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0A2163 | adjusted for contrast · from #E9CA00 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #154DE9 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #009393 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.74:1 | AAA pass 4.5:1 | |
| Text on surface | 12.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 6.42:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 5.97:1 | AA pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.72:1 | AAA pass 4.5:1 | |
| Text on surface | 10.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.59:1 | AA pass 4.5:1 | |
| Label on accent | 11.76:1 | AAA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 11.76: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 | #009393 (Text 1) | #154DE9 (Text 2) | #00AF51 (Text 3) | #E9CA00 (Text 4) | #0A2163 (Text 5) |
|---|---|---|---|---|---|
| #009393 | Same color | 1.71— | 1.30— | 2.31— | 3.97AA Large |
| #154DE9 | 1.71— | Same color | 2.22— | 3.95AA Large | 2.32— |
| #00AF51 | 1.30— | 2.22— | Same color | 1.78— | 5.14AA |
| #E9CA00 | 2.31— | 3.95AA Large | 1.78— | Same color | 9.15AAA |
| #0A2163 | 3.97AA Large | 2.32— | 5.14AA | 9.15AAA | Same color |
Shades
Shades and tints (50–950)
