HSL to HEX: #FDE68A
Also known as: Tailwind v3 amber-200
Result
hsl(48.00 96.64% 76.67%) → #FDE68A
Values are shown at full precision, so converting back gives exactly #fde68a. 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
H = 48.00°, S = 96.64%, L = 76.67%
2. C
C = (1 − |2L − 1|) × S = 0.45092
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.36074 (H / 60° = 0.8000, sector 0)
4. m
m = L − C / 2 = 0.54124
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.45092, 0.36074, 0.00000) R = round((0.45092 + 0.54124) × 255) = 253 G = round((0.36074 + 0.54124) × 255) = 230 B = round((0.00000 + 0.54124) × 255) = 138
6. RGB → HEX
#FDE68A
All formats
- HEX
- #fde68a
- RGB
- rgb(253 230 138)
- RGB (legacy)
- rgb(253, 230, 138)
- HSL
- hsl(48.00 96.64% 76.67%) → hsl(48 97% 77%)
- HWB
- hwb(48 54% 1%)
- OKLCH
- oklch(0.924 0.115 95.7) · oklch(92.4% 0.115 95.7)
- OKLab
- oklab(0.924 -0.012 0.115)
- Lab (D50)
- lab(91.74 -0.63 47.60)
- LCH (D50)
- lch(91.74 47.60 90.76)
- Display P3
- color(display-p3 0.9769 0.9051 0.5887)
- Linear sRGB
- color(srgb-linear 0.9823 0.7913 0.2542)
Gamut: sRGB and Display P3
#FDE68A is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.125 and Display P3 reaches 0.150; this color uses 92% of the sRGB chroma available.
CSS snippets
.element {
color: #fde68a;
color: rgb(253 230 138);
color: hsl(48 97% 77%);
color: oklch(0.924 0.115 95.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.924 0.115 95.7);
}
/* arbitrary values */
class="text-[#fde68a] bg-[oklch(0.924_0.115_95.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9769 0.9051 0.5887); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fde68a calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- amber-200#FEE685
- khaki#F0E68C
- v3 yellow-200#FEF08A
- yellow-200#FFF085
- palegoldenrod#EEE8AA
- navajowhite#FFDEAD
- moccasin#FFE4B5
- v3 yellow-300#FDE047
Lighter and darker, same hue and chroma
- #FFFA9E · oklch(0.984 0.115 95.7) · ΔL +0.06
- #E9D277 · oklch(0.864 0.115 95.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?