HEX to RGB: #84CC16

Also known as: Tailwind v3 lime-500

Result

#84CC16 → rgb(132 204 22)

Values are shown at full precision, so converting back gives exactly #84cc16. 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. HEX → pairs

    #84CC16 → 84 | CC | 16
  2. 2. base 16 → base 10

    R = 84₁₆ = 8×16 + 4 = 132
    G = CC₁₆ = 12×16 + 12 = 204
    B = 16₁₆ = 1×16 + 6 = 22
  3. 3. RGB

    rgb(132 204 22)

All formats

HEX
#84cc16
RGB
rgb(132 204 22)
RGB (legacy)
rgb(132, 204, 22)
HSL
hsl(83.74 80.53% 44.31%) → hsl(84 81% 44%)
HWB
hwb(84 9% 20%)
OKLCH
oklch(0.768 0.204 130.8) · oklch(76.8% 0.204 130.8)
OKLab
oklab(0.768 -0.134 0.155)
Lab (D50)
lab(75.12 -41.50 70.26)
LCH (D50)
lch(75.12 81.60 120.57)
Display P3
color(display-p3 0.5811 0.7926 0.2600)
Linear sRGB
color(srgb-linear 0.2307 0.6038 0.0080)

Gamut: sRGB and Display P3

#84CC16 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.209 and Display P3 reaches 0.245; this color uses 98% of the sRGB chroma available.

CSS snippets

.element {
  color: #84cc16;
  color: rgb(132 204 22);
  color: hsl(84 81% 44%);
  color: oklch(0.768 0.204 130.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.768 0.204 130.8);
}
/* arbitrary values */
class="text-[#84cc16] bg-[oklch(0.768_0.204_130.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.5811 0.7926 0.2600); }
}

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

  • #97E039 · oklch(0.828 0.204 130.8) · ΔL +0.06
  • #72B800 · oklch(0.708 0.204 130.8) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?