Color #ffb40c
A vivid, highly saturated medium orange.
Conversions
#ffb40c
rgb(255, 180, 12)
hsl(41.5, 100%, 52.4%)
hsv(41.5, 95.3%, 100%)
cmyk(0%, 29.4%, 95.3%, 0%)
lab(78.42, 16.2, 80.01)
lch(78.42, 81.63, 78.55)
oklch(82%, 0.1692, 78.17)
hwb(41.5, 4.7%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (11.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#e3e25f · ΔE 20.6
Deuteranopia
#e7ec68 · ΔE 22.7
Tritanopia
#fc7b81 · ΔE 39.3
Achromatopsia
#c2c2c2 · ΔE 28.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ffb40c;
bg-[#ffb40c]
Related colors
Frequently asked questions
#ffb40c (#ffb40c) is rgb(255, 180, 12) in RGB.
No, #ffb40c 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 #ffb40c, or check how it holds up for accessibility.