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