#FFEC81 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This luminous, pastel yellow feels approachable and energetic. Because it is highly saturated, #ffec81 works best as a 10% accent color rather than a dominant background, where it can overwhelm the eye. It pairs surprisingly well with deep charcoal or slate gray for a modern, high-contrast look. Use this hex code sparingly to inject spontaneity and positivity into your design work without washing out other elements.
Questions about #ffec81
What is #ffec81 in RGB, HSL and CMYK?
In RGB, #ffec81 is rgb(255, 236, 129), in HSL hsl(51, 100%, 75%) and in CMYK 0%, 7%, 49%, 0%. Browse more shades of yellow with names and hex codes.
How can I effectively use #ffec81 in professional web design?
#ffec81 functions best as a strategic accent color to draw the eye toward call-to-action buttons or highlights. Because it is highly saturated, avoid using it as a text background, as it often reduces readability against white or light gray surfaces.
What colors pair well with the luminous yellow of #ffec81?
This yellow pairs beautifully with charcoal or slate gray to create a modern, high-contrast aesthetic that feels balanced. For a softer look, you can incorporate muted earth tones or neutral off-whites to ground the intensity of this vibrant shade.
Is #ffec81 readable on white or black?
#ffec81 has a 1.19:1 contrast ratio on white and 17.56: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.