Aa
- AA normal text
- Fail
- AA large text
- Fail
- AAA normal text
- Fail
- AAA large text
- Fail
Color reference
Calculated profile
At 60° hue, Yellow is a high-saturation, mid-lightness, warm-hue sRGB color. Its relative luminance is 92.78%. For text on this background, #000000 produces the stronger contrast at 19.56:1.
02
Equivalent sRGB notations calculated from the same six-digit HEX value.
03
Ratios use WCAG relative luminance. Passing a ratio does not by itself certify an interface.
Aa
Aa
04
Tints mix the color with white; shades mix it with black in sRGB.
05
These colors keep the original HSL saturation and lightness while rotating hue. They are mathematical starting points, not automatic design recommendations.
06
Eight-digit HEX and modern rgb() alpha syntax for the same opacity.
07
A small custom-property block using the calculated foreground with the stronger black-or-white contrast.
--color-yellow: #FFFF00;
--color-yellow-rgb: 255 255 0;
--color-yellow-hsl: 60 100% 50%;
color: #000000;
background-color: var(--color-yellow);Community review
Correction for Yellow#FFFF00
Found an inaccurate name, explanation, source, or accessibility detail? Send a concise correction for editorial review.
08 / Verification
The color name and HEX value are checked against the cited standard. RGB, HSL, HWB, luminance, and contrast are then calculated from that HEX value using published formulas.
Source for the name and HEX: W3C CSS Color 4 named colors