OKLCH to HEX: #84CC16

Also known as: Tailwind v3 lime-500

Result

oklch(0.76814 0.20440 130.850) → #84CC16

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. input

    oklch(0.76814 0.20440 130.850)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.13369
    b = C·sin H = 0.15461
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.748518
    m′ = L − 0.1056·a − 0.0639·b = 0.772380
    s′ = L − 0.0895·a − 1.2915·b = 0.580423
  4. 4. cube

    l = 0.748518³ = 0.419379
    m = 0.772380³ = 0.460780
    s = 0.580423³ = 0.195539
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.230737
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.603826
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.008024
  6. 6. linear → sRGB, × 255

    R = 0.51764 × 255 = 132.00 → 132
    G = 0.80000 × 255 = 204.00 → 204
    B = 0.08628 × 255 = 22.00 → 22
  7. 7. RGB → HEX

    #84CC16

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?