#FFD942 Hex Color

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

Hex color #ffd942 graphic
This bright, high-saturation yellow demands attention and exudes immediate enthusiasm. The hex code #ffd942 works best as an accent color for calls-to-action or sale highlights rather than a full background, where it can easily overwhelm the eye. It pairs strikingly well with deep charcoal or navy blue, creating a high-contrast aesthetic that feels both modern and energetic for UI elements.

Questions about #ffd942

What is #ffd942 in RGB, HSL and CMYK?
In RGB, #ffd942 is rgb(255, 217, 66), in HSL hsl(48, 100%, 63%) and in CMYK 0%, 15%, 74%, 0%. Browse more shades of yellow with names and hex codes.
How should I use #ffd942 in UI design?
#ffd942 is an intense, high-saturation yellow that works best as an accent color for call-to-action buttons or sale highlights. Avoid using it as a primary background, as its brightness can easily overwhelm the eye and make text difficult to read.
What colors pair well with #ffd942?
This yellow creates a high-contrast, modern aesthetic when paired with deep charcoal or navy blue. These dark tones ground the intensity of #ffd942, making it feel intentional and energetic rather than chaotic for your design elements.
Is #ffd942 readable on white or black?
#ffd942 has a 1.37:1 contrast ratio on white and 15.25: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.