OKLCH to HEX: #E17100
Also known as: Tailwind amber-600
Result
oklch(0.66713 0.16851 53.381) → #E17100
Values are shown at full precision, so converting back gives exactly #e17100. 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. input
oklch(0.66713 0.16851 53.381)
2. OKLCH → Oklab
a = C·cos H = 0.10051 b = C·sin H = 0.13525
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.736155 m′ = L − 0.1056·a − 0.0639·b = 0.647883 s′ = L − 0.0895·a − 1.2915·b = 0.483463
4. cube
l = 0.736155³ = 0.398940 m = 0.647883³ = 0.271951 s = 0.483463³ = 0.113003
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.752942 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.165124 B = −0.0042·l − 0.7034·m + 1.7076·s = -0.000004
6. linear → sRGB, × 255
R = 0.88235 × 255 = 225.00 → 225 G = 0.44313 × 255 = 113.00 → 113 B = 0.00000 × 255 = 0.00 → 0
7. RGB → HEX
#E17100
All formats
- HEX
- #e17100
- RGB
- rgb(225 113 0)
- RGB (legacy)
- rgb(225, 113, 0)
- HSL
- hsl(30.13 100.00% 44.12%) → hsl(30 100% 44%)
- HWB
- hwb(30 0% 12%)
- OKLCH
- oklch(0.667 0.169 53.4) · oklch(66.7% 0.169 53.4)
- OKLab
- oklab(0.667 0.101 0.135)
- Lab (D50)
- lab(60.42 40.98 68.17)
- LCH (D50)
- lch(60.42 79.54 58.99)
- Display P3
- color(display-p3 0.8259 0.4669 0.1712)
- Linear sRGB
- color(srgb-linear 0.7529 0.1651 0.0000)
Gamut: sRGB and Display P3
#E17100 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.192; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #e17100;
color: rgb(225 113 0);
color: hsl(30 100% 44%);
color: oklch(0.667 0.169 53.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.667 0.169 53.4);
}
/* arbitrary values */
class="text-[#e17100] bg-[oklch(0.667_0.169_53.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8259 0.4669 0.1712); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e17100 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 amber-600#D97706
- chocolate#D2691E
- v3 orange-500#F97316
- v3 orange-600#EA580C
- peru#CD853F
- orange-500#FF6900
- yellow-600#D08700
- v3 yellow-600#CA8A04
Lighter and darker, same hue and chroma
- #F68429 · oklch(0.727 0.169 53.4) · ΔL +0.06
- #CC5E00 · oklch(0.607 0.169 53.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?