#D9F99D color
The swatch above shows #D9F99D with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#D9F99D is a very light, vivid yellow-green, closest to the CSS named color palegoldenrod (#EEE8AA).
It is also a Tailwind CSS default: lime-200. That means you can write bg-lime-200 or text-lime-200 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #D9F99D |
| RGB | rgb(217, 249, 157) |
| HSL | hsl(81, 88%, 80%) |
| CMYK | cmyk(13%, 0%, 37%, 2%) |
| Decimal | 14285213 |
| CSS | color: #D9F99D; |
| Android | 0xFFD9F99D |
| Swift | UIColor(red: 0.851, green: 0.976, blue: 0.616, alpha: 1) |
Accessibility and contrast
| White text on #D9F99D | 1.17:1 — AA fail · AA large fail · AAA fail |
| Black text on #D9F99D | 17.99:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #D9F99D
Each swatch keeps the hue and saturation of #D9F99D and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #D9F99D
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #D9F99D in code
/* CSS */
.element { color: #D9F99D; background-color: #D9F99D; }
.element { color: rgb(217 249 157); }
.element { color: hsl(81 88% 80%); }
/* Tailwind */
<div class="bg-lime-200 text-black">
/* SCSS variable */
$brand: #D9F99D;
Frequently asked questions
What color is #D9F99D?
#D9F99D is a very light, vivid yellow-green. Its hue sits at 81° on the color wheel, with 88% saturation and 80% lightness.
What is #D9F99D in RGB?
#D9F99D converts to rgb(217, 249, 157) — 217 red, 249 green and 157 blue.
What is #D9F99D in CMYK?
Approximately cmyk(13%, 0%, 37%, 2%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #D9F99D be white or black?
Black gives the better contrast ratio (17.99:1 versus 1.17:1).
What is the complementary color of #D9F99D?
#BF9FF9 — the hue directly opposite #D9F99D on the color wheel.