OKLCH to HEX: #57534D

Also known as: Tailwind stone-600

Result

oklch(0.44411 0.01096 78.213) → #57534D

Values are shown at full precision, so converting back gives exactly #57534d. 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.44411 0.01096 78.213)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.00224
    b = C·sin H = 0.01073
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.447313
    m′ = L − 0.1056·a − 0.0639·b = 0.443189
    s′ = L − 0.0895·a − 1.2915·b = 0.430053
  4. 4. cube

    l = 0.447313³ = 0.089502
    m = 0.443189³ = 0.087049
    s = 0.430053³ = 0.079537
  5. 5. LMS → linear sRGB

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

    R = 0.34119 × 255 = 87.00 → 87
    G = 0.32549 × 255 = 83.00 → 83
    B = 0.30195 × 255 = 77.00 → 77
  7. 7. RGB → HEX

    #57534D

All formats

HEX
#57534d
RGB
rgb(87 83 77)
RGB (legacy)
rgb(87, 83, 77)
HSL
hsl(36.00 6.10% 32.16%) → hsl(36 6% 32%)
HWB
hwb(36 30% 66%)
OKLCH
oklch(0.444 0.011 78.2) · oklch(44.4% 0.011 78.2)
OKLab
oklab(0.444 0.002 0.011)
Lab (D50)
lab(35.54 0.79 4.14)
LCH (D50)
lch(35.54 4.22 79.13)
Display P3
color(display-p3 0.3385 0.3260 0.3045)
Linear sRGB
color(srgb-linear 0.0953 0.0865 0.0742)

Gamut: sRGB and Display P3

#57534D is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.093 and Display P3 reaches 0.106; this color uses 12% of the sRGB chroma available.

CSS snippets

.element {
  color: #57534d;
  color: rgb(87 83 77);
  color: hsl(36 6% 32%);
  color: oklch(0.444 0.011 78.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.444 0.011 78.2);
}
/* arbitrary values */
class="text-[#57534d] bg-[oklch(0.444_0.011_78.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3385 0.3260 0.3045); }
}

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

  • #68645E · oklch(0.504 0.011 78.2) · ΔL +0.06
  • #47433D · oklch(0.384 0.011 78.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?