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.
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
| CSS keyword | honeydew |
|---|---|
| HEX | #F0FFF0 |
| RGB | rgb(240, 255, 240) |
| HSL | hsl(120, 100%, 97%) |
| HWB | hwb(120 94% 0%) |
| OKLCH | oklch(98.5% 0.025 145.4) |
| CMYK (naive, no ICC profile) | cmyk(6%, 0%, 6%, 0%) |
| Decimal | 15,794,160 |
| Hue family | Whites 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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on honeydew | 20.26:1 | Pass | Pass | Pass | Pass | 103.6 |
| White text on honeydew | 1.03:1 | Fail | Fail | Fail | Fail | 0.0 |
| Honeydew text on white | 1.03:1 | Fail | Fail | Fail | Fail | 0.0 |
| Honeydew text on black | 20.26:1 | Pass | Pass | Pass | Pass | −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)
- 5%
#f1fff1 - 15%
#f2fff2 - 25%
#f4fff4 - 35%
#f5fff5 - 45%
#f7fff7 - 55%
#f8fff8 - 65%
#fafffa - 75%
#fbfffb - 85%
#fdfffd - 95%
#fefffe
Shades (mixed with black)
- 5%
#e4f2e4 - 15%
#ccd9cc - 25%
#b4bfb4 - 35%
#9ca69c - 45%
#848c84 - 55%
#6c736c - 65%
#545954 - 75%
#3c403c - 85%
#242624 - 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.
| Harmony | Rotation | Color |
|---|---|---|
| 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.
Code snippets
.element {
color: honeydew;
background-color: #f0fff0;
border-color: rgb(240 255 240);
outline-color: oklch(98.5% 0.025 145.4);
}<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 */import SwiftUI
extension Color {
static let honeydew = Color(red: 0.941, green: 1.000, blue: 0.941)
}import androidx.compose.ui.graphics.Color
val Honeydew = Color(0xFFF0FFF0)import 'package:flutter/material.dart';
const honeydew = Color(0xFFF0FFF0);<!-- 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.