Yellow Color
Web safe YellowsOne of the oldest color words in most languages, and one of the three primary subtractive (pigment) colors.
Conversions
#ffff00
rgb(255, 255, 0)
hsl(60, 100%, 50%)
hsv(60, 100%, 100%)
cmyk(0%, 0%, 100%, 0%)
lab(97.14, -21.55, 94.48)
lch(97.14, 96.91, 102.85)
oklch(96.8%, 0.211, 109.77)
hwb(60, 0%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (19.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#ffff87 · ΔE 8.6
Deuteranopia
#ffff95 · ΔE 10.4
Tritanopia
#ffb0b7 · ΔE 51.7
Achromatopsia
#f7f7f7 · ΔE 30.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ffff00;
bg-[#ffff00]
Related colors
Frequently asked questions
Yellow (#ffff00) is rgb(255, 255, 0) in RGB.
Yes, #ffff00 is one of the 216 web-safe colors — every channel is a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #ffff00, or check how it holds up for accessibility.