HEX to RGB: #FDE68A
Also known as: Tailwind v3 amber-200
Result
#FDE68A → rgb(253 230 138)
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. HEX → pairs
#FDE68A → FD | E6 | 8A
2. base 16 → base 10
R = FD₁₆ = 15×16 + 13 = 253 G = E6₁₆ = 14×16 + 6 = 230 B = 8A₁₆ = 8×16 + 10 = 138
3. RGB
rgb(253 230 138)
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?