#F0FFA5 Hex Color

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

Hex color #f0ffa5 graphic
Not a sharp lemon or a true green, this soft yellow-green sits close to white on the spectrum. Its hex code is #f0ffa5. The low saturation and high lightness keep it mellow, so it works best as a dominant background rather than a small accent. Black text reads clearly on top, at about 19.6:1 contrast, which clears WCAG AA for small body text. Pair it with olive or charcoal to keep it from washing out next to plain white.

Questions about #f0ffa5

What is #f0ffa5 in RGB, HSL and CMYK?
In RGB, #f0ffa5 is rgb(240, 255, 165), in HSL hsl(70, 100%, 82%) and in CMYK 6%, 0%, 35%, 0%.
What text color works best on #f0ffa5?
Black text on #f0ffa5 gives about 19.6:1 contrast, well above the 4.5:1 needed for WCAG AA body text. White text fails here, so keep type dark on this background.
What colors pair well with #f0ffa5?
It pairs well with olive and charcoal, which ground its brightness. Next to plain white it can look washed out, so anchor it with darker supporting tones.
Is #f0ffa5 readable on white or black?
#f0ffa5 has a 1.07:1 contrast ratio on white and 19.55: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.