Color values
#FFFF00rgb(255, 255, 0)hsl(60 100% 50%)60°, 100%, 100%0%, 0%, 100%, 0%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
Yellow is the standard CSS named color #FFFF00, combining full red and green channels with no blue in sRGB.
Yellow is the CSS named color keyword yellow, standardized at #FFFF00 in sRGB.
#FFFF00rgb(255, 255, 0)hsl(60 100% 50%)60°, 100%, 100%0%, 0%, 100%, 0%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
AA normal text: black passes; white fails.
AA large text: black passes; white fails.
WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.
These steps are computed by RGB-mixing #FFFF00 toward white or black. They are generated values, not official named colors.
#FFFFCC #FFFF99 #FFFF66 #FFFF33 #FFFF00 #CCCC00 #999900 #666600 #333300 Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.
.example {
color: #000000;
background-color: yellow;
} You can use either yellow or #FFFF00 in CSS; both resolve to the same sRGB color.
Closest entries in the current Colormapped set by simple RGB-channel distance:
RGB distance is a simple numerical comparison, not a perceptual color-difference standard.
The keyword and base sRGB value come from the standardized CSS named-color set documented by MDN’s named-color reference. Derived values on this page are computed from that sRGB value.
Contrast uses the W3C relative-luminance formula and thresholds described in WCAG Contrast (Minimum).
Convert #FFFF00 with the HEX to RGB converter, test another foreground/background pair in the Contrast Checker, or browse the shade families.