HSL in HEX: #9AE600
Auch bekannt als: Tailwind lime-400
Ergebnis
hsl(79.83 100.00% 45.10%) → #9AE600
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #9ae600. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. input
H = 79.83°, S = 100.00%, L = 45.10%
2. C
C = (1 − |2L − 1|) × S = 0.90200
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.60389 (H / 60° = 1.3305, sector 1)
4. m
m = L − C / 2 = 0.00000
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.60389, 0.90200, 0.00000) R = round((0.60389 + 0.00000) × 255) = 154 G = round((0.90200 + 0.00000) × 255) = 230 B = round((0.00000 + 0.00000) × 255) = 0
6. RGB → HEX
#9AE600
Alle Formate
- HEX
- #9ae600
- RGB
- rgb(154 230 0)
- RGB (legacy)
- rgb(154, 230, 0)
- HSL
- hsl(79.83 100.00% 45.10%) → hsl(80 100% 45%)
- HWB
- hwb(80 0% 10%)
- OKLCH
- oklch(0.843 0.226 129.6) · oklch(84.3% 0.226 129.6)
- OKLab
- oklab(0.843 -0.144 0.174)
- Lab (D50)
- lab(83.92 -44.12 79.90)
- LCH (D50)
- lch(83.92 91.27 118.91)
- Display P3
- color(display-p3 0.6699 0.8941 0.2780)
- Linear sRGB
- color(srgb-linear 0.3231 0.7913 0.0000)
Gamut: sRGB und Display P3
#9AE600 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.226, Display P3 von 0.264; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #9ae600;
color: rgb(154 230 0);
color: hsl(80 100% 45%);
color: oklch(0.843 0.226 129.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.843 0.226 129.6);
}
/* arbitrary values */
class="text-[#9ae600] bg-[oklch(0.843_0.226_129.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6699 0.8941 0.2780); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #9ae600 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 lime-400#A3E635
- lawngreen#7CFC00
- lime-300#BBF451
- chartreuse#7FFF00
- greenyellow#ADFF2F
- yellowgreen#9ACD32
- v3 lime-300#BEF264
- lime-500#7CCF00
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #ADFA36 · oklch(0.903 0.226 129.6) · ΔL +0.06
- #87D200 · oklch(0.783 0.226 129.6) · ΔL −0.06