#ECF842 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #ecf842 graphic
High-voltage and neon, #ecf842 is an intensely luminous yellow that demands immediate attention. Due to its extreme saturation, it functions best as a strategic accent color rather than a large background field. Pair it with deep charcoals to maximize the 18.1:1 contrast ratio for readable text. This hex code creates an energetic, spontaneous feel, perfect for sale banners and digital call-to-action buttons.

Questions about #ecf842

What is #ecf842 in RGB, HSL and CMYK?
In RGB, #ecf842 is rgb(236, 248, 66), in HSL hsl(64, 93%, 62%) and in CMYK 5%, 0%, 73%, 3%. Browse more shades of yellow with names and hex codes.
How should I use #ecf842 in a design layout?
Because #ecf842 is extremely saturated, it works best as a strategic accent rather than a background color. Use it sparingly for call-to-action buttons or highlights where you need to draw the eye instantly against a muted, darker canvas.
Is #ecf842 readable on white or black?
#ecf842 has a 1.16:1 contrast ratio on white and 18.07:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.