Color #ffc104
A vivid, highly saturated medium yellow.
Conversions
#ffc104
rgb(255, 193, 4)
hsl(45.2, 100%, 50.8%)
hsv(45.2, 98.4%, 100%)
cmyk(0%, 24.3%, 98.4%, 0%)
lab(81.52, 9.38, 82.98)
lch(81.52, 83.51, 83.55)
oklch(84.4%, 0.1725, 84.98)
hwb(45.2, 1.6%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (12.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#e7e665 · ΔE 16.9
Deuteranopia
#eaef70 · ΔE 18.9
Tritanopia
#fc848a · ΔE 42.5
Achromatopsia
#cbcbcb · ΔE 29
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ffc104;
bg-[#ffc104]
Related colors
Frequently asked questions
#ffc104 (#ffc104) is rgb(255, 193, 4) in RGB.
No, #ffc104 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #ffc104, or check how it holds up for accessibility.