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