Free Accessible CSS Gradient Generator

← All Colors
#F0FFF0 Honeydew

Honeydew Hex Code #F0FFF0

Honeydew is a very light off-white with the hex code #F0FFF0. In RGB it is 240, 255, 240, and in HSL it is 120°, 100%, 97%. It is one of the 148 named colors in CSS, so you can write “honeydew” instead of the hex code.

HEX
#F0FFF0
RGB
rgb(240, 255, 240)
HSL
hsl(120, 100%, 97%)
HSV
hsv(120°, 6%, 100%)
CMYK
cmyk(6%, 0%, 6%, 0%)
CSS name
honeydew

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Honeydew

On a white background Honeydew has a contrast ratio of 1.04:1 (Fail), and on black 20.27: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 Honeydew

Tints mix Honeydew with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Pairing Honeydew with an accent color

Honeydew 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 Honeydew.

Honeydew 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 Honeydew scores against white and black.

Contrast of Honeydew with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.04:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 20.27:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Honeydew1.04:1
Aa Black text on Honeydew20.27:1

Honeydew and color blindness

These are approximate previews of how Honeydew can look with the main types of color vision deficiency.

Protanopia #FFFCEF

Honeydew shifts slightly.

Deuteranopia #FDFAF1

Honeydew shifts slightly.

Tritanopia #EFFEFA

Honeydew looks almost the same.

Achromatopsia #FBFBFB

Honeydew shifts slightly.

Gradients with Honeydew

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Honeydew to a lighter tint

background: linear-gradient(135deg, #f0fff0 0%, #f9fff9 100%);

Honeydew to a darker shade

background: linear-gradient(135deg, #f0fff0 0%, #606660 100%);

Honeydew to Dark Orchid

background: linear-gradient(135deg, #f0fff0 0%, #9932cc 100%);

Colors similar to Honeydew

How each close match differs from Honeydew.

More white & cream colors →

Use Honeydew in code

CSS
.element {
  color: #f0fff0;
  background-color: #f0fff0;
  border-color: honeydew;   /* honeydew is a valid CSS color name */
}
CSS variable
:root {
  --color-honeydew: #f0fff0;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#f0fff0] text-[#f0fff0] border-[#f0fff0]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-honeydew: #f0fff0;
}

Honeydew questions

What is the hex code for Honeydew?

The hex code for Honeydew is #F0FFF0. In RGB that is rgb(240, 255, 240), and in HSL it is hsl(120, 100%, 97%).

Which colors go well with Honeydew?

Honeydew 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.50:1), Crimson (4.82:1), Royal Blue (4.68:1).

Should I use white or black text on Honeydew?

Black text. It has a contrast ratio of 20.27:1 against Honeydew, which is WCAG AAA. The other option scores 1.04:1.

Is Honeydew accessible as a text color on white?

No. Honeydew on white scores 1.04:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Honeydew?

Mixing Honeydew with black gives #C0CCC0, #909990, #606660, #303330 (20% to 80% black). Mixing it with white gives #F3FFF3, #F6FFF6, #F9FFF9, #FCFFFC (20% to 80% white).

More color tools