Tartrazine Color – #f7d917: Codes and Complete Breakdown
By
Published on
The Tartrazine color hex code is #f7d917, and it is composed of 97% red, 85% green and 9% blue.
Tartrazine is a light, vibrant, saturated, and warm color at 91% saturation. It has a contrast ratio of 1.41:1 against a white background, which fails WCAG AA (Web Content Accessibility Guidelines, Level AA) compliance.
For better visibility, it is recommended to use the Tartrazine color (#f7d917) against dark backgrounds.

Tartrazine Color Shades
Complementary colors
Triadic colors
Tints or lighter colors
Darker colors
Analogous colors
Monochromatic colors
#f7d917
Tartrazine Color Codes and Information
Here’s a complete breakdown of the color Tartrazine, including its HEX, RGB, HSL, and CMYK values, as well as other information about the color.
| Data Type | Values/Details |
|---|---|
| Hex | #f7d917 |
| RGB | rgb(247,217,23) |
| HSL | hsl(52,93.3%,52.9%) |
| CMYK | 0, 12, 91, 3 |
| HSV | 52, 91, 97 |
| RGB % | 97, 85, 9 |
| XYZ | 63.3, 69.5, 10.9 |
| LAB | 86.8, -6.3, 84.3 |
| Color Category | Light |
| Color Family | Yellow |
| Saturation | 91% |
| Temperature | Warm |
| Contrast Ratio Againt White (#ffffff) | 1.41 (fails WCAG AA) |
| Contrast Ratio Againt Black (#000000) | 14.89 (passes WCAG AA) |









