Skip to content

CSS named color

Honeydew #F0FFF0

Honeydew (CSS keyword honeydew) has the hex code #F0FFF0 and the RGB value rgb(240, 255, 240): an off-white with a green tint.

Honeydew#F0FFF0

Named after the pale green flesh of the honeydew melon. It is an off-white with a faint green tint, useful for subtle success backgrounds.

Color codes for Honeydew

Color codes for Honeydew
CSS keywordhoneydew
HEX#F0FFF0
RGBrgb(240, 255, 240)
HSLhsl(120, 100%, 97%)
HWBhwb(120 94% 0%)
OKLCHoklch(98.5% 0.025 145.4)
CMYK (naive, no ICC profile)cmyk(6%, 0%, 6%, 0%)
Decimal15,794,160
Hue familyWhites and off-whites

Contrast and accessibility

On honeydew, black text has a contrast ratio of 20.26:1 and passes AAA at any text size; white text reaches 1.03:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on honeydew20.26:1PassPassPassPass103.6
White text on honeydew1.03:1FailFailFailFail0.0
Honeydew text on white1.03:1FailFailFailFail0.0
Honeydew text on black20.26:1PassPassPassPass−105.1

Tints and shades

Each step mixes honeydew with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, honeydew, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #f1fff1
  2. 15%
    #f2fff2
  3. 25%
    #f4fff4
  4. 35%
    #f5fff5
  5. 45%
    #f7fff7
  6. 55%
    #f8fff8
  7. 65%
    #fafffa
  8. 75%
    #fbfffb
  9. 85%
    #fdfffd
  10. 95%
    #fefffe

Shades (mixed with black)

  1. 5%
    #e4f2e4
  2. 15%
    #ccd9cc
  3. 25%
    #b4bfb4
  4. 35%
    #9ca69c
  5. 45%
    #848c84
  6. 55%
    #6c736c
  7. 65%
    #545954
  8. 75%
    #3c403c
  9. 85%
    #242624
  10. 95%
    #0c0d0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, honeydew's complementary color is #FFF5FF (close to ghostwhite), its analogous colors are #F9FDE9 and #E9FFF9, and its triadic partners are #F2FAFF and #FFF4F1. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#fff5ff
Analogous−30°, +30°#f9fde9#e9fff9
Triadic+120°, +240°#f2faff#fff4f1
Split-complementary+150°, +210°#fbf7ff#fff3fb

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Honeydew is close to neutral: its OKLCH chroma is only 0.025, so its temperature comes from context. The faint 120° hue gives it a slightly cool cast.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
mintcream#f5fffa1.6
ivory#fffff01.9
azure#f0ffff2.0

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
green-50#f0fdf40.9
emerald-50#ecfdf51.1
lime-50#f7fee71.3

Code snippets

CSS
.element {
  color: honeydew;
  background-color: #f0fff0;
  border-color: rgb(240 255 240);
  outline-color: oklch(98.5% 0.025 145.4);
}
Tailwind CSS
<div class="bg-[#f0fff0] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-honeydew: #f0fff0;
}
/* then use bg-honeydew, text-honeydew, border-honeydew */
SwiftUI
import SwiftUI

extension Color {
  static let honeydew = Color(red: 0.941, green: 1.000, blue: 0.941)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Honeydew = Color(0xFFF0FFF0)
Flutter
import 'package:flutter/material.dart';

const honeydew = Color(0xFFF0FFF0);
Android XML
<!-- res/values/colors.xml -->
<color name="honeydew">#F0FFF0</color>

Frequently asked questions

What is the hex code for honeydew?
The hex code for honeydew is #F0FFF0. The same color is rgb(240, 255, 240), hsl(120, 100%, 97%) and oklch(98.5% 0.025 145.4), and in CSS you can also write the keyword honeydew directly.
Is honeydew a warm or cool color?
Honeydew is close to neutral: its OKLCH chroma is only 0.025, so its temperature comes from context. The faint 120° hue gives it a slightly cool cast.
What colors go with honeydew?
Rotating the hue in OKLCH while keeping lightness and chroma, honeydew's complementary color is #FFF5FF (close to ghostwhite), its analogous colors are #F9FDE9 and #E9FFF9, and its triadic partners are #F2FAFF and #FFF4F1. For text on top, black gives the higher contrast.
Can you use white text on honeydew?
White text on honeydew has a contrast ratio of 1.03:1, which fails AA even for large text under WCAG 2.2. Black text reaches 20.26:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 103.6 for black.
What is the RGB value of honeydew?
Honeydew is rgb(240, 255, 240): red 240, green 255 and blue 240 on the 0 to 255 scale, or 94.1%, 100.0% and 94.1%. As a decimal integer it is 15794160.

Last reviewed by Arielton Oberek.