PreviewingGo to this paletteOpen in generator
Code
/* Citrine Light — colorset.net */
:root {
--color-1: #FFEE88;
--color-2: #FFF099;
--color-3: #FFF3AA;
--color-4: #FFF6BB;
--color-5: #FFF9CC;
--color-bg: #F9F7EA;
--color-surface: #F0EEE1;
--color-border: #D8D6C5;
--color-text: #594E00;
--color-muted: #6F6B50;
--color-primary: #857600;
--color-on-primary: #FFFFFF;
--color-accent: #8F8960;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #131000;
--color-surface: #1D1A05;
--color-border: #322E16;
--color-text: #FEF9D2;
--color-muted: #908C71;
--color-primary: #FFEE88;
--color-on-primary: #131000;
--color-accent: #C4B663;
--color-on-accent: #131000;
}
}
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 #FFF9CC | adjusted for contrast · from #FFEE88 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEE88 | adjusted for contrast · from #FFF9CC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEE88 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEE88 | adjusted for contrast · from #FFEE88 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.88:1 | AAA pass 4.5:1 | |
| Text on surface | 16.38:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.60:1 | AA pass 4.5:1 | |
| Label on primary | 16.19:1 | AAA pass 4.5:1 | |
| Label on accent | 9.27:1 | AAA pass 4.5:1 | |
| Primary on background | 16.19:1 | AAA pass 3:1 | |
| Accent on background | 9.27: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 | #FFEE88 (Text 1) | #FFF099 (Text 2) | #FFF3AA (Text 3) | #FFF6BB (Text 4) | #FFF9CC (Text 5) |
|---|---|---|---|---|---|
| #FFEE88 | Same color | 1.02— | 1.05— | 1.07— | 1.10— |
| #FFF099 | 1.02— | Same color | 1.03— | 1.05— | 1.08— |
| #FFF3AA | 1.05— | 1.03— | Same color | 1.03— | 1.05— |
| #FFF6BB | 1.07— | 1.05— | 1.03— | Same color | 1.03— |
| #FFF9CC | 1.10— | 1.08— | 1.05— | 1.03— | Same color |
Shades
Shades and tints (50–950)
