PreviewingGo to this paletteOpen in generator
Code
/* Citrine Evening — colorset.net */
:root {
--color-1: #1F1A12;
--color-2: #D9A404;
--color-3: #7A1F4B;
--color-4: #1F6F78;
--color-5: #F6EFDD;
--color-bg: #F6EFDD;
--color-surface: #FBF6EC;
--color-border: #DFD6C1;
--color-text: #1F1A12;
--color-muted: #716A61;
--color-primary: #967000;
--color-on-primary: #FFFFFF;
--color-accent: #7A1F4B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1F1A12;
--color-surface: #2A251C;
--color-border: #413A2E;
--color-text: #F6EFDD;
--color-muted: #948D7D;
--color-primary: #D9A404;
--color-on-primary: #1F1A12;
--color-accent: #AE4F78;
--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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1F6F78 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #7A1F4B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.07:1 | AAA pass 4.5:1 | |
| Text on surface | 16.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 9.88:1 | AAA pass 4.5:1 | |
| Primary on background | 3.97:1 | AA Large pass 3:1 | |
| Accent on background | 8.62:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.07:1 | AAA pass 4.5:1 | |
| Text on surface | 13.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 7.62:1 | AAA pass 4.5:1 | |
| Label on accent | 5.01:1 | AA pass 4.5:1 | |
| Primary on background | 7.62:1 | AAA pass 3:1 | |
| Accent on background | 3.45: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 | #1F1A12 (Text 1) | #D9A404 (Text 2) | #7A1F4B (Text 3) | #1F6F78 (Text 4) | #F6EFDD (Text 5) |
|---|---|---|---|---|---|
| #1F1A12 | Same color | 7.62AAA | 1.75— | 2.97— | 15.07AAA |
| #D9A404 | 7.62AAA | Same color | 4.36AA Large | 2.57— | 1.98— |
| #7A1F4B | 1.75— | 4.36AA Large | Same color | 1.70— | 8.62AAA |
| #1F6F78 | 2.97— | 2.57— | 1.70— | Same color | 5.08AA |
| #F6EFDD | 15.07AAA | 1.98— | 8.62AAA | 5.08AA | Same color |
Shades
Shades and tints (50–950)
