HEX to HSL: #FFEDD4
Also known as: Tailwind orange-100
Result
#FFEDD4 → hsl(35 100% 92%)
Values are shown at full precision, so converting back gives exactly #ffedd4. 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. RGB ÷ 255
R = 1.0000 G = 0.9294 B = 0.8314
2. max, min, Δ
max = 1.0000 min = 0.8314 Δ = max − min = 0.1686
3. L
L = (max + min) / 2 = 0.9157 = 91.57%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9294 − 0.8314) / 0.1686) mod 6) = 34.88°
6. HSL
hsl(34.88 100.00% 91.57%)
All formats
- HEX
- #ffedd4
- RGB
- rgb(255 237 212)
- RGB (legacy)
- rgb(255, 237, 212)
- HSL
- hsl(34.88 100.00% 91.57%) → hsl(35 100% 92%)
- HWB
- hwb(35 83% 0%)
- OKLCH
- oklch(0.954 0.038 76.2) · oklch(95.4% 0.038 76.2)
- OKLab
- oklab(0.954 0.009 0.037)
- Lab (D50)
- lab(94.72 3.39 14.48)
- LCH (D50)
- lch(94.72 14.87 76.84)
- Display P3
- color(display-p3 0.9880 0.9319 0.8422)
- Linear sRGB
- color(srgb-linear 1.0000 0.8469 0.6584)
Gamut: sRGB and Display P3
#FFEDD4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.038 and Display P3 reaches 0.048; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #ffedd4;
color: rgb(255 237 212);
color: hsl(35 100% 92%);
color: oklch(0.954 0.038 76.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.954 0.038 76.2);
}
/* arbitrary values */
class="text-[#ffedd4] bg-[oklch(0.954_0.038_76.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9880 0.9319 0.8422); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ffedd4 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 orange-100#FFEDD5
- papayawhip#FFEFD5
- blanchedalmond#FFEBCD
- antiquewhite#FAEBD7
- beige#F5F5DC
- linen#FAF0E6
- oldlace#FDF5E6
- bisque#FFE4C4
Lighter and darker, same hue and chroma
- #FFFCE3 · oklch(1.000 0.038 76.2) · ΔL +0.06
- #EBD9C1 · oklch(0.894 0.038 76.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?