PreviewingGo to this paletteOpen in generator
Code
/* Citrus Punch — colorset.net */
:root {
--color-1: #F57400;
--color-2: #EDD200;
--color-3: #68BE1F;
--color-4: #ED324B;
--color-5: #581C15;
--color-bg: #FAF7E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #581C15;
--color-muted: #836560;
--color-primary: #E22342;
--color-on-primary: #FFFFFF;
--color-accent: #438400;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #D8D2AD;
--color-muted: #898469;
--color-primary: #E22342;
--color-on-primary: #FFFFFF;
--color-accent: #68BE1F;
--color-on-accent: #1C0907;
}
}
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 #EDD200 | adjusted for contrast · from #581C15 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | adjusted for contrast · from #EDD200 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #ED324B | adjusted for contrast · from #ED324B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #68BE1F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.27:1 | AAA pass 4.5:1 | |
| Text on surface | 11.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.59:1 | AAA pass 4.5:1 | |
| Text on surface | 11.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 8.22:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 8.22: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 | #F57400 (Text 1) | #EDD200 (Text 2) | #68BE1F (Text 3) | #ED324B (Text 4) | #581C15 (Text 5) |
|---|---|---|---|---|---|
| #F57400 | Same color | 1.87— | 1.22— | 1.43— | 4.64AA |
| #EDD200 | 1.87— | Same color | 1.54— | 2.68— | 8.68AAA |
| #68BE1F | 1.22— | 1.54— | Same color | 1.74— | 5.64AA |
| #ED324B | 1.43— | 2.68— | 1.74— | Same color | 3.24AA Large |
| #581C15 | 4.64AA | 8.68AAA | 5.64AA | 3.24AA Large | Same color |
Shades
Shades and tints (50–950)
