RGB in HEX: #008236
Auch bekannt als: Tailwind green-700
Ergebnis
rgb(0 130 54) → #008236
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #008236. 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. base 10 → base 16
R = 0 = 0×16 + 0 → 00 G = 130 = 8×16 + 2 → 82 B = 54 = 3×16 + 6 → 36
2. pairs → HEX
00 82 36 → #008236
Alle Formate
- HEX
- #008236
- RGB
- rgb(0 130 54)
- RGB (legacy)
- rgb(0, 130, 54)
- HSL
- hsl(144.92 100.00% 25.49%) → hsl(145 100% 25%)
- HWB
- hwb(145 0% 49%)
- OKLCH
- oklch(0.530 0.149 149.0) · oklch(53.0% 0.149 149.0)
- OKLab
- oklab(0.530 -0.128 0.077)
- Lab (D50)
- lab(47.27 -44.87 31.58)
- LCH (D50)
- lch(47.27 54.87 144.86)
- Display P3
- color(display-p3 0.2199 0.5019 0.2472)
- Linear sRGB
- color(srgb-linear 0.0000 0.2232 0.0369)
Gamut: sRGB und Display P3
#008236 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.149, Display P3 von 0.209; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #008236;
color: rgb(0 130 54);
color: hsl(145 100% 25%);
color: oklch(0.530 0.149 149.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.530 0.149 149.0);
}
/* arbitrary values */
class="text-[#008236] bg-[oklch(0.530_0.149_149.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2199 0.5019 0.2472); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #008236 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 green-700#15803D
- green#008000
- forestgreen#228B22
- lime-700#497D00
- v3 lime-700#4D7C0F
- seagreen#2E8B57
- emerald-700#007A55
- v3 emerald-700#047857
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #269448 · oklch(0.590 0.149 149.0) · ΔL +0.06
- #007024 · oklch(0.470 0.149 149.0) · ΔL −0.06