HEX in OKLCH: #35530E

Auch bekannt als: Tailwind lime-900

Ergebnis

#35530E → oklch(0.404 0.100 130.8)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #35530e. 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: 53/255 = 0.20784 → 0.035601  (((x + 0.055) / 1.055)^2.4)
    G: 83/255 = 0.32549 → 0.086500  (((x + 0.055) / 1.055)^2.4)
    B: 14/255 = 0.05490 → 0.004391  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.061295
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.066896
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.030279
  3. 3. cube root

    l′ = ∛0.061295 = 0.394282
    m′ = ∛0.066896 = 0.405946
    s′ = ∛0.030279 = 0.311684
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.40387
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.06554
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.07593
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.10030
    H = atan2(b, a) = 130.803°
    L = 0.40387
  6. 6. OKLCH

    oklch(0.40387 0.10030 130.803)
    rounded: oklch(0.404 0.100 130.8)

Alle Formate

HEX
#35530e
RGB
rgb(53 83 14)
RGB (legacy)
rgb(53, 83, 14)
HSL
hsl(86.09 71.13% 19.02%) → hsl(86 71% 19%)
HWB
hwb(86 5% 67%)
OKLCH
oklch(0.404 0.100 130.8) · oklch(40.4% 0.100 130.8)
OKLab
oklab(0.404 -0.066 0.076)
Lab (D50)
lab(31.85 -20.47 33.65)
LCH (D50)
lch(31.85 39.38 121.32)
Display P3
color(display-p3 0.2338 0.3224 0.1053)
Linear sRGB
color(srgb-linear 0.0356 0.0865 0.0044)

Gamut: sRGB und Display P3

#35530E 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.110, Display P3 von 0.129; diese Farbe nutzt 91 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #35530e;
  color: rgb(53 83 14);
  color: hsl(86 71% 19%);
  color: oklch(0.404 0.100 130.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.404 0.100 130.8);
}
/* arbitrary values */
class="text-[#35530e] bg-[oklch(0.404_0.100_130.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2338 0.3224 0.1053); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #35530e 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

  • #456422 · oklch(0.464 0.100 130.8) · ΔL +0.06
  • #264200 · oklch(0.344 0.100 130.8) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →