PreviewingGo to this paletteOpen in generator
Code
/* Citrine Bright — colorset.net */
:root {
--color-1: #F4D03F;
--color-2: #F7DC6F;
--color-3: #F9E79F;
--color-4: #FCF3CF;
--color-5: #FFFBEA;
--color-bg: #FFFBEA;
--color-surface: #F6F2E1;
--color-border: #DED9C5;
--color-text: #615000;
--color-muted: #756E53;
--color-primary: #A48800;
--color-on-primary: #000000;
--color-accent: #8F8B7C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1F1905;
--color-border: #342E15;
--color-text: #FFFBEA;
--color-muted: #918D7E;
--color-primary: #F4D03F;
--color-on-primary: #140F00;
--color-accent: #F9E79F;
--color-on-accent: #140F00;
}
}
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 | adjusted for contrast · from #F4D03F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F4D03F | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F4D03F | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4D03F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.15:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.43:1 | AAA pass 4.5:1 | |
| Text on surface | 16.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.75:1 | AA pass 4.5:1 | |
| Label on primary | 12.70:1 | AAA pass 4.5:1 | |
| Label on accent | 15.44:1 | AAA pass 4.5:1 | |
| Primary on background | 12.70:1 | AAA pass 3:1 | |
| Accent on background | 15.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 | #F4D03F (Text 1) | #F7DC6F (Text 2) | #F9E79F (Text 3) | #FCF3CF (Text 4) | #FFFBEA (Text 5) |
|---|---|---|---|---|---|
| #F4D03F | Same color | 1.11— | 1.22— | 1.35— | 1.45— |
| #F7DC6F | 1.11— | Same color | 1.10— | 1.22— | 1.31— |
| #F9E79F | 1.22— | 1.10— | Same color | 1.11— | 1.19— |
| #FCF3CF | 1.35— | 1.22— | 1.11— | Same color | 1.07— |
| #FFFBEA | 1.45— | 1.31— | 1.19— | 1.07— | Same color |
Shades
Shades and tints (50–950)
