Color #ffca1f
A vivid, highly saturated medium yellow.
Conversions
#ffca1f
rgb(255, 202, 31)
hsl(45.8, 100%, 56.1%)
hsv(45.8, 87.8%, 100%)
cmyk(0%, 20.8%, 87.8%, 0%)
lab(83.76, 5.06, 80.94)
lch(83.76, 81.1, 86.42)
oklch(86.2%, 0.1708, 88.73)
hwb(45.8, 12.2%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (13.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#eaea6d · ΔE 14.8
Deuteranopia
#edf178 · ΔE 16.4
Tritanopia
#fd8c92 · ΔE 43.5
Achromatopsia
#d1d1d1 · ΔE 28.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ffca1f;
bg-[#ffca1f]
Related colors
Frequently asked questions
#ffca1f (#ffca1f) is rgb(255, 202, 31) in RGB.
No, #ffca1f 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 #ffca1f, or check how it holds up for accessibility.