Inspect HoneyDew (#F0FFF0) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
HoneyDew
#F0FFF0
Black text reads best on this background, at 20.27:1.
HoneyDew is one of the 148 CSS named colors, and resolves to #F0FFF0 in every browser. In numbers that is rgb(240, 255, 240) and hsl(120, 100%, 97%). Perceptually it is a very light, near-neutral color: OKLCH puts its lightness at 98% and its chroma at 0.025. 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.04:1 here, so black text is the safer pairing at 20.27:1. Because it is this light, HoneyDew works best as a page or card background with dark text over it.
The closest CSS named colors to HoneyDew, measured with CIEDE2000, are MintCream (#F5FFFA), Ivory (#FFFFF0), Azure (#F0FFFF). If HoneyDew is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#F0FFF0
RGB
rgb(240, 255, 240)
HSL
hsl(120, 100%, 97%)
HWB
hwb(120 94% 0%)
CMYK
cmyk(6%, 0%, 6%, 0%)
LAB
lab(98.57 -7.08 5.41)
LCH
lch(98.57 8.91 142.58)
OKLCH
oklch(98.48% 0.0252 145.38)
WCAG asks for 4.5:1 between body text and its background. On #F0FFF0 white text measures 1.04:1 and black text 20.27:1, so black clears it and white does not.
White text on HoneyDew
WCAG 2.2
1.04:1
APCA
Lc 0
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on HoneyDew
WCAG 2.2
20.27:1
APCA
Lc 103
Passes AA body text
Passes AAA body text
Passes AA large text
Check HoneyDew against any other color in the contrast checker.
HoneyDew sits at 98% OKLCH lightness. Holding its hue and chroma and moving only that value carries it down to #020802, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#B8C6B8
20% darker
#839083
40% darker
#515E51
60% darker
#243024
80% darker
#020802
100% darker
Build a full accessible scale from #F0FFF0 in the shade generator.
The biggest shift is under achromatopsia, where #F0FFF0 reads as #FBFBFB, 9.8 CIEDE2000 units away. If HoneyDew is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#FFFCEF
Deuteranopia
#FDFAF1
Tritanopia
#EFFEFA
Achromatopsia
#FBFBFB
The nearest CSS keywords to #F0FFF0, ranked by perceptual distance rather than by how close their hex digits happen to look.