HEX in HSL: #A65F00

Auch bekannt als: Tailwind yellow-700

Ergebnis

#A65F00 → hsl(34 100% 33%)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #a65f00. 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. RGB ÷ 255

    R = 0.6510
    G = 0.3725
    B = 0.0000
  2. 2. max, min, Δ

    max = 0.6510
    min = 0.0000
    Δ = max − min = 0.6510
  3. 3. L

    L = (max + min) / 2 = 0.3255 = 32.55%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.3725 − 0.0000) / 0.6510) mod 6) = 34.34°
  6. 6. HSL

    hsl(34.34 100.00% 32.55%)

Alle Formate

HEX
#a65f00
RGB
rgb(166 95 0)
RGB (legacy)
rgb(166, 95, 0)
HSL
hsl(34.34 100.00% 32.55%) → hsl(34 100% 33%)
HWB
hwb(34 0% 35%)
OKLCH
oklch(0.555 0.127 62.5) · oklch(55.5% 0.127 62.5)
OKLab
oklab(0.555 0.059 0.113)
Lab (D50)
lab(47.86 25.71 55.91)
LCH (D50)
lch(47.86 61.54 65.30)
Display P3
color(display-p3 0.6130 0.3860 0.1273)
Linear sRGB
color(srgb-linear 0.3813 0.1144 0.0000)

Gamut: sRGB und Display P3

#A65F00 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.127, Display P3 von 0.145; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #a65f00;
  color: rgb(166 95 0);
  color: hsl(34 100% 33%);
  color: oklch(0.555 0.127 62.5);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.555 0.127 62.5);
}
/* arbitrary values */
class="text-[#a65f00] bg-[oklch(0.555_0.127_62.5)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6130 0.3860 0.1273); }
}

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

  • #BA7122 · oklch(0.615 0.127 62.5) · ΔL +0.06
  • #934D00 · oklch(0.495 0.127 62.5) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →