HEX to HSL: #35530E

Also known as: Tailwind lime-900

Result

#35530E → hsl(86 71% 19%)

Values are shown at full precision, so converting back gives exactly #35530e. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. RGB ÷ 255

    R = 0.2078
    G = 0.3255
    B = 0.0549
  2. 2. max, min, Δ

    max = 0.3255
    min = 0.0549
    Δ = max − min = 0.2706
  3. 3. L

    L = (max + min) / 2 = 0.1902 = 19.02%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.7113 = 71.13%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.0549 − 0.2078) / 0.2706 + 2) = 86.09°
  6. 6. HSL

    hsl(86.09 71.13% 19.02%)

All formats

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 and Display P3

#35530E is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.110 and Display P3 reaches 0.129; this color uses 91% of the sRGB chroma available.

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); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

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

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?