HEX in OKLCH: #5B4F4B

Auch bekannt als: Tailwind taupe-600

Ergebnis

#5B4F4B → oklch(0.438 0.017 39.3)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #5b4f4b. 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. 1. sRGB → linear

    R: 91/255 = 0.35686 → 0.104616  (((x + 0.055) / 1.055)^2.4)
    G: 79/255 = 0.30980 → 0.078187  (((x + 0.055) / 1.055)^2.4)
    B: 75/255 = 0.29412 → 0.070360  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.088679
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.082947
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.075590
  3. 3. cube root

    l′ = ∛0.088679 = 0.445938
    m′ = ∛0.082947 = 0.436115
    s′ = ∛0.075590 = 0.422820
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.43824
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.01344
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.01101
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.01737
    H = atan2(b, a) = 39.315°
    L = 0.43824
  6. 6. OKLCH

    oklch(0.43824 0.01737 39.315)
    rounded: oklch(0.438 0.017 39.3)

Alle Formate

HEX
#5b4f4b
RGB
rgb(91 79 75)
RGB (legacy)
rgb(91, 79, 75)
HSL
hsl(15.00 9.64% 32.55%) → hsl(15 10% 33%)
HWB
hwb(15 29% 64%)
OKLCH
oklch(0.438 0.017 39.3) · oklch(43.8% 0.017 39.3)
OKLab
oklab(0.438 0.013 0.011)
Lab (D50)
lab(34.72 4.60 4.30)
LCH (D50)
lch(34.72 6.29 43.09)
Display P3
color(display-p3 0.3491 0.3115 0.2965)
Linear sRGB
color(srgb-linear 0.1046 0.0782 0.0704)

Gamut: sRGB und Display P3

#5B4F4B 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.139, Display P3 von 0.158; diese Farbe nutzt 12 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #5b4f4b;
  color: rgb(91 79 75);
  color: hsl(15 10% 33%);
  color: oklch(0.438 0.017 39.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.438 0.017 39.3);
}
/* arbitrary values */
class="text-[#5b4f4b] bg-[oklch(0.438_0.017_39.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3491 0.3115 0.2965); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #5b4f4b calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #6C605B · oklch(0.498 0.017 39.3) · ΔL +0.06
  • #4A3F3B · oklch(0.378 0.017 39.3) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →