OKLCH to HEX: #20B2AA

Also known as: CSS lightseagreen

Result

oklch(0.69120 0.11421 188.962) → #20B2AA

Values are shown at full precision, so converting back gives exactly #20b2aa. 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.69120 0.11421 188.962)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.11282
    b = C·sin H = -0.01779
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.642647
    m′ = L − 0.1056·a − 0.0639·b = 0.704245
    s′ = L − 0.0895·a − 1.2915·b = 0.724273
  4. 4. cube

    l = 0.642647³ = 0.265411
    m = 0.704245³ = 0.349278
    s = 0.724273³ = 0.379933
  5. 5. LMS → linear sRGB

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

    R = 0.12553 × 255 = 32.01 → 32
    G = 0.69804 × 255 = 178.00 → 178
    B = 0.66667 × 255 = 170.00 → 170
  7. 7. RGB → HEX

    #20B2AA

All formats

HEX
#20b2aa
RGB
rgb(32 178 170)
RGB (legacy)
rgb(32, 178, 170)
HSL
hsl(176.71 69.52% 41.18%) → hsl(177 70% 41%)
HWB
hwb(177 13% 30%)
OKLCH
oklch(0.691 0.114 189.0) · oklch(69.1% 0.114 189.0)
OKLab
oklab(0.691 -0.113 -0.018)
Lab (D50)
lab(65.49 -38.83 -6.92)
LCH (D50)
lch(65.49 39.44 190.10)
Display P3
color(display-p3 0.3335 0.6879 0.6640)
Linear sRGB
color(srgb-linear 0.0144 0.4452 0.4020)

Gamut: sRGB and Display P3

#20B2AA is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.120 and Display P3 reaches 0.161; this color uses 95% of the sRGB chroma available.

CSS snippets

.element {
  color: #20b2aa;
  color: rgb(32 178 170);
  color: hsl(177 70% 41%);
  color: oklch(0.691 0.114 189.0);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.691 0.114 189.0);
}
/* arbitrary values */
class="text-[#20b2aa] bg-[oklch(0.691_0.114_189.0)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3335 0.6879 0.6640); }
}

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

  • #3FC5BD · oklch(0.751 0.114 189.0) · ΔL +0.06
  • #009F97 · oklch(0.631 0.114 189.0) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?