OKLCH to HEX: #FB923C

Also known as: Tailwind v3 orange-400

Result

oklch(0.75764 0.15904 55.934) → #FB923C

Values are shown at full precision, so converting back gives exactly #fb923c. 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.75764 0.15904 55.934)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.08909
    b = C·sin H = 0.13175
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.821380
    m′ = L − 0.1056·a − 0.0639·b = 0.739823
    s′ = L − 0.0895·a − 1.2915·b = 0.579518
  4. 4. cube

    l = 0.821380³ = 0.554156
    m = 0.739823³ = 0.404934
    s = 0.579518³ = 0.194626
  5. 5. LMS → linear sRGB

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

    R = 0.98432 × 255 = 251.00 → 251
    G = 0.57255 × 255 = 146.00 → 146
    B = 0.23529 × 255 = 60.00 → 60
  7. 7. RGB → HEX

    #FB923C

All formats

HEX
#fb923c
RGB
rgb(251 146 60)
RGB (legacy)
rgb(251, 146, 60)
HSL
hsl(27.02 95.98% 60.98%) → hsl(27 96% 61%)
HWB
hwb(27 24% 2%)
OKLCH
oklch(0.758 0.159 55.9) · oklch(75.8% 0.159 55.9)
OKLab
oklab(0.758 0.089 0.132)
Lab (D50)
lab(71.11 36.11 60.82)
LCH (D50)
lch(71.11 70.74 59.30)
Display P3
color(display-p3 0.9282 0.5926 0.3103)
Linear sRGB
color(srgb-linear 0.9647 0.2874 0.0452)

Gamut: sRGB and Display P3

#FB923C is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.169 and Display P3 reaches 0.212; this color uses 94% of the sRGB chroma available.

CSS snippets

.element {
  color: #fb923c;
  color: rgb(251 146 60);
  color: hsl(27 96% 61%);
  color: oklch(0.758 0.159 55.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.758 0.159 55.9);
}
/* arbitrary values */
class="text-[#fb923c] bg-[oklch(0.758_0.159_55.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9282 0.5926 0.3103); }
}

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

  • #FFA552 · oklch(0.818 0.159 55.9) · ΔL +0.06
  • #E67F23 · oklch(0.698 0.159 55.9) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?