HEX in HSL: #7CCF00
Auch bekannt als: Tailwind lime-500
Ergebnis
#7CCF00 → hsl(84 100% 41%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #7ccf00. 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.4863 G = 0.8118 B = 0.0000
2. max, min, Δ
max = 0.8118 min = 0.0000 Δ = max − min = 0.8118
3. L
L = (max + min) / 2 = 0.4059 = 40.59%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.0000 − 0.4863) / 0.8118 + 2) = 84.06°
6. HSL
hsl(84.06 100.00% 40.59%)
Alle Formate
- HEX
- #7ccf00
- RGB
- rgb(124 207 0)
- RGB (legacy)
- rgb(124, 207, 0)
- HSL
- hsl(84.06 100.00% 40.59%) → hsl(84 100% 41%)
- HWB
- hwb(84 0% 19%)
- OKLCH
- oklch(0.771 0.216 132.5) · oklch(77.1% 0.216 132.5)
- OKLab
- oklab(0.771 -0.146 0.159)
- Lab (D50)
- lab(75.59 -45.66 72.89)
- LCH (D50)
- lch(75.59 86.01 122.07)
- Display P3
- color(display-p3 0.5625 0.8036 0.2443)
- Linear sRGB
- color(srgb-linear 0.2016 0.6240 0.0000)
Gamut: sRGB und Display P3
#7CCF00 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.216, Display P3 von 0.253; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #7ccf00;
color: rgb(124 207 0);
color: hsl(84 100% 41%);
color: oklch(0.771 0.216 132.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.771 0.216 132.5);
}
/* arbitrary values */
class="text-[#7ccf00] bg-[oklch(0.771_0.216_132.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5625 0.8036 0.2443); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #7ccf00 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 lime-500#84CC16
- yellowgreen#9ACD32
- limegreen#32CD32
- green-500#00C950
- lime-400#9AE600
- green-400#05DF72
- v3 green-400#4ADE80
- v3 lime-400#A3E635
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #8FE331 · oklch(0.831 0.216 132.5) · ΔL +0.06
- #69BB00 · oklch(0.711 0.216 132.5) · ΔL −0.06