HEX in HSL: #00C950
Auch bekannt als: Tailwind green-500
Ergebnis
#00C950 → hsl(144 100% 39%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #00c950. 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. RGB ÷ 255
R = 0.0000 G = 0.7882 B = 0.3137
2. max, min, Δ
max = 0.7882 min = 0.0000 Δ = max − min = 0.7882
3. L
L = (max + min) / 2 = 0.3941 = 39.41%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.3137 − 0.0000) / 0.7882 + 2) = 143.88°
6. HSL
hsl(143.88 100.00% 39.41%)
Alle Formate
- HEX
- #00c950
- RGB
- rgb(0 201 80)
- RGB (legacy)
- rgb(0, 201, 80)
- HSL
- hsl(143.88 100.00% 39.41%) → hsl(144 100% 39%)
- HWB
- hwb(144 0% 21%)
- OKLCH
- oklch(0.729 0.212 147.8) · oklch(72.9% 0.212 147.8)
- OKLab
- oklab(0.729 -0.179 0.113)
- Lab (D50)
- lab(71.12 -62.56 46.81)
- LCH (D50)
- lch(71.12 78.13 143.19)
- Display P3
- color(display-p3 0.3553 0.7765 0.3739)
- Linear sRGB
- color(srgb-linear 0.0000 0.5841 0.0802)
Gamut: sRGB und Display P3
#00C950 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.212, Display P3 von 0.297; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #00c950;
color: rgb(0 201 80);
color: hsl(144 100% 39%);
color: oklch(0.729 0.212 147.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.729 0.212 147.8);
}
/* arbitrary values */
class="text-[#00c950] bg-[oklch(0.729_0.212_147.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3553 0.7765 0.3739); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00c950 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 green-500#22C55E
- limegreen#32CD32
- green-400#05DF72
- lime-500#7CCF00
- emerald-500#00BC7D
- v3 lime-500#84CC16
- emerald-400#00D492
- v3 green-400#4ADE80
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #35DD64 · oklch(0.789 0.212 147.8) · ΔL +0.06
- #00B53C · oklch(0.669 0.212 147.8) · ΔL −0.06