#DFF2A6 color
#DFF2A6 is a very light, vivid yellow-green, closest to the CSS named color palegoldenrod (#EEE8AA).
Color values
| HEX | #DFF2A6 |
| RGB | rgb(223, 242, 166) |
| HSL | hsl(75, 75%, 80%) |
| CMYK | cmyk(8%, 0%, 31%, 5%) |
| Decimal | 14676646 |
| CSS | color: #DFF2A6; |
| Android | 0xFFDFF2A6 |
| Swift | UIColor(red: 0.875, green: 0.949, blue: 0.651, alpha: 1) |
Accessibility and contrast
| White text on #DFF2A6 | 1.21:1 — AA fail · AA large fail · AAA fail |
| Black text on #DFF2A6 | 17.39: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 #DFF2A6
Each swatch keeps the hue and saturation of #DFF2A6 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #DFF2A6
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #DFF2A6 in code
/* CSS */
.element { color: #DFF2A6; background-color: #DFF2A6; }
.element { color: rgb(223 242 166); }
.element { color: hsl(75 75% 80%); }
/* Tailwind arbitrary value */
<div class="bg-[#DFF2A6] text-black">
/* SCSS variable */
$brand: #DFF2A6;
Frequently asked questions
What color is #DFF2A6?
#DFF2A6 is a very light, vivid yellow-green. Its hue sits at 75° on the color wheel, with 75% saturation and 80% lightness.
What is #DFF2A6 in RGB?
#DFF2A6 converts to rgb(223, 242, 166) — 223 red, 242 green and 166 blue.
What is #DFF2A6 in CMYK?
Approximately cmyk(8%, 0%, 31%, 5%). 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 #DFF2A6 be white or black?
Black gives the better contrast ratio (17.39:1 versus 1.21:1).
What is the complementary color of #DFF2A6?
#B9A6F2 — the hue directly opposite #DFF2A6 on the color wheel.