#FFFF00 — Tints, Shades & Color Values
#FFFF00 is a medium, vivid yellow. It is exactly the CSS named color yellow. For readable text on a #FFFF00 background, black text gives the strongest contrast (19.56:1). #FFFF00 sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.
Color Values
| Hex | #FFFF00 |
|---|---|
| RGB | rgb(255, 255, 0) |
| HSL | hsl(60, 100%, 50%) |
| HSV / HSB | 60°, 100%, 100% |
| Nearest named | yellow (#ffff00) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
Tints of #FFFF00 (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#ffff1a -
20% tint
#ffff33 -
30% tint
#ffff4d -
40% tint
#ffff66 -
50% tint
#ffff80 -
60% tint
#ffff99 -
70% tint
#ffffb3 -
80% tint
#ffffcc -
90% tint
#ffffe6
Shades of #FFFF00 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#e6e600 -
20% shade
#cccc00 -
30% shade
#b3b300 -
40% shade
#999900 -
50% shade
#808000 -
60% shade
#666600 -
70% shade
#4d4d00 -
80% shade
#333300 -
90% shade
#191900
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #FFFF00 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 1.07:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
|---|---|
| Black text 19.56:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
If neither pure white nor pure black reaches the level you need, pick a darker shade of #FFFF00 from the ramps above as the background instead — small lightness moves change contrast quickly.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.