Inspect MintCream (#F5FFFA) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
MintCream
#F5FFFA
Black text reads best on this background, at 20.57:1.
MintCream is one of the 148 CSS named colors, and resolves to #F5FFFA in every browser. In numbers that is rgb(245, 255, 250) and hsl(150, 100%, 98%). Perceptually it is a very light, near-neutral color: OKLCH puts its lightness at 99% and its chroma at 0.012. It carries almost no chroma, so it behaves as a neutral rather than as a hue, and belongs with the off-whites.
White text only reaches 1.02:1 here, so black text is the safer pairing at 20.57:1. Because it is this light, MintCream works best as a page or card background with dark text over it.
The closest CSS named colors to MintCream, measured with CIEDE2000, are Azure (#F0FFFF), HoneyDew (#F0FFF0), Ivory (#FFFFF0). If MintCream is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#F5FFFA
RGB
rgb(245, 255, 250)
HSL
hsl(150, 100%, 98%)
HWB
hwb(150 96% 0%)
CMYK
cmyk(4%, 0%, 2%, 0%)
LAB
lab(99.14 -4.06 1.2)
LCH
lch(99.14 4.24 163.6)
OKLCH
oklch(99.12% 0.0124 164.81)
WCAG asks for 4.5:1 between body text and its background. On #F5FFFA white text measures 1.02:1 and black text 20.57:1, so black clears it and white does not.
White text on MintCream
WCAG 2.2
1.02:1
APCA
Lc 0
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on MintCream
WCAG 2.2
20.57:1
APCA
Lc 104
Passes AA body text
Passes AAA body text
Passes AA large text
Check MintCream against any other color in the contrast checker.
MintCream sits at 99% OKLCH lightness. Holding its hue and chroma and moving only that value carries it down to #030705, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#BCC6C1
20% darker
#868F8B
40% darker
#545D59
60% darker
#272E2B
80% darker
#030705
100% darker
Build a full accessible scale from #F5FFFA in the shade generator.
The biggest shift is under protanopia, where #F5FFFA reads as #FFFDFA, 5.7 CIEDE2000 units away. If MintCream is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#FFFDFA
Deuteranopia
#FCFCFA
Tritanopia
#F3FFFD
Achromatopsia
#FDFDFD
The nearest CSS keywords to #F5FFFA, ranked by perceptual distance rather than by how close their hex digits happen to look.