Mint Cream Hex Code #F5FFFA
Mint Cream is a very light off-white with the hex code #F5FFFA. In RGB it is 245, 255, 250, and in HSL it is 150°, 100%, 98%. It is one of the 148 named colors in CSS, so you can write “mintcream” instead of the hex code.
- HEX
- #F5FFFA
- RGB
- rgb(245, 255, 250)
- HSL
- hsl(150, 100%, 98%)
- HSV
- hsv(150°, 4%, 100%)
- CMYK
- cmyk(4%, 0%, 2%, 0%)
- CSS name
- mintcream
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Mint Cream
On a white background Mint Cream has a contrast ratio of 1.02:1 (Fail), and on black 20.57:1 (AAA). Black text is the better choice on top of it.
It has almost no hue of its own, so it pairs comfortably with almost any accent color.
Near-white colors work well as backgrounds and surfaces. Their slight tint feels softer than pure white, which can look harsh across a large screen.
Shades and tints of Mint Cream
Tints mix Mint Cream with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Pairing Mint Cream with an accent color
Mint Cream has almost no hue of its own, so color schemes built from it would all look the same. A neutral works best as a background or text color beside an accent. This is how six accent colors contrast with Mint Cream.
- Crimson #DC143C 4.89:1 against Mint Cream (WCAG AA)
- Dark Orange #FF8C00 2.28:1 against Mint Cream (WCAG Fail)
- Gold #FFD700 1.37:1 against Mint Cream (WCAG Fail)
- Sea Green #2E8B57 4.16:1 against Mint Cream (WCAG AA Large)
- Royal Blue #4169E1 4.75:1 against Mint Cream (WCAG AA)
- Dark Orchid #9932CC 5.58:1 against Mint Cream (WCAG AA)
Mint Cream contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Mint Cream scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 1.02:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 20.57:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Mint Cream and color blindness
These are approximate previews of how Mint Cream can look with the main types of color vision deficiency.
Mint Cream looks almost the same.
Mint Cream looks almost the same.
Mint Cream looks almost the same.
Mint Cream looks almost the same.
Gradients with Mint Cream
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Mint Cream to a lighter tint
background: linear-gradient(135deg, #f5fffa 0%, #fbfffd 100%); Mint Cream to a darker shade
background: linear-gradient(135deg, #f5fffa 0%, #626664 100%); Mint Cream to Dark Orchid
background: linear-gradient(135deg, #f5fffa 0%, #9932cc 100%); Colors similar to Mint Cream
How each close match differs from Mint Cream.
- Azure #F0FFFF Very close in lightness, saturation and hue.
- White #FFFFFF Very close in lightness, saturation and hue.
- White Smoke #F5F5F5 Very close in lightness, saturation and hue.
- Honeydew #F0FFF0 Very close in lightness, saturation and hue.
- Snow #FFFAFA Very close in lightness, saturation and hue.
- Floral White #FFFAF0 Very close in lightness, saturation and hue.
Use Mint Cream in code
.element {
color: #f5fffa;
background-color: #f5fffa;
border-color: mintcream; /* mintcream is a valid CSS color name */
} :root {
--color-mint-cream: #f5fffa;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#f5fffa] text-[#f5fffa] border-[#f5fffa]"></div>
/* Tailwind v4 theme color */
@theme {
--color-mint-cream: #f5fffa;
} Mint Cream questions
What is the hex code for Mint Cream?
The hex code for Mint Cream is #F5FFFA. In RGB that is rgb(245, 255, 250), and in HSL it is hsl(150, 100%, 98%).
Which colors go well with Mint Cream?
Mint Cream is a neutral color with almost no hue of its own, so it has no true complement and pairs with nearly any accent. The accents that contrast most strongly against it are Dark Orchid (5.58:1), Crimson (4.89:1), Royal Blue (4.75:1).
Should I use white or black text on Mint Cream?
Black text. It has a contrast ratio of 20.57:1 against Mint Cream, which is WCAG AAA. The other option scores 1.02:1.
Is Mint Cream accessible as a text color on white?
No. Mint Cream on white scores 1.02:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Mint Cream?
Mixing Mint Cream with black gives #C4CCC8, #939996, #626664, #313332 (20% to 80% black). Mixing it with white gives #F7FFFB, #F9FFFC, #FBFFFD, #FDFFFE (20% to 80% white).