In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Lemon Yellow — colorset.net */
:root {
--color-1: #FFE135;
--color-2: #FFD23F;
--color-3: #FFC947;
--color-4: #FFBF00;
--color-5: #FFB30F;
--color-bg: #FAF7E8;
--color-surface: #F1EEDF;
--color-border: #D9D5C3;
--color-text: #6A4800;
--color-muted: #786951;
--color-primary: #9D6C00;
--color-on-primary: #FFFFFF;
--color-accent: #AD8200;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D00;
--color-surface: #221705;
--color-border: #392B16;
--color-text: #E9E2BC;
--color-muted: #888368;
--color-primary: #FFB30F;
--color-on-primary: #180D00;
--color-accent: #FFE135;
--color-on-accent: #180D00;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | für Kontrast angepasst · aus #FFE135 | für Kontrast angepasst · aus #FFB30F |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #FFB30F | für Kontrast angepasst · aus #FFC947 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #FFB30F | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #FFB30F | aus der Palette · Farbe 1 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,69:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,10:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,96:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,59:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,97:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,27:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,27:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,66:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,47:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,01:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 10,68:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 14,66:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 10,68:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 14,66:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #FFE135 (Text 1) | #FFD23F (Text 2) | #FFC947 (Text 3) | #FFBF00 (Text 4) | #FFB30F (Text 5) |
|---|---|---|---|---|---|
| #FFE135 | Gleiche Farbe | 1,11— | 1,17— | 1,27— | 1,37— |
| #FFD23F | 1,11— | Gleiche Farbe | 1,06— | 1,14— | 1,24— |
| #FFC947 | 1,17— | 1,06— | Gleiche Farbe | 1,08— | 1,17— |
| #FFBF00 | 1,27— | 1,14— | 1,08— | Gleiche Farbe | 1,09— |
| #FFB30F | 1,37— | 1,24— | 1,17— | 1,09— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
