Yellow Color
Yellow is a very light yellow with hex code #FFFF00. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Yellow color codes
| HEX | #FFFF00 | |
|---|---|---|
| RGB | rgb(255, 255, 0) | |
| HSL | hsl(60, 100%, 50%) | |
| HSV | 60°, 100%, 100% | |
| CMYK | 0%, 0%, 100%, 0% | |
| OKLCH | oklch(96.8% 0.211 109.8) | |
| Tailwind | bg-[#ffff00] |
Closest Tailwind colour: yellow-300 (#FDE047). Convert any colour in the Color Converter.
About Yellow
Yellow (#FFFF00) is a very light yellow. In the RGB model it is 100% red, 100% green and 0% blue; its hue angle is 60°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 100% yellow and 0% black.
It is a warm colour and appears in our shades of yellow. Text on it reads best in black (19.6:1 contrast).
Yellow tints and shades
Tints mix yellow with white; shades mix it with black. Click to copy.
Colors that go with Yellow
Complementary
Analogous
Triadic
Split complementary
Yellow contrast
- AA text fail
- AAA text fail
- AA large fail
- AA text pass
- AAA text pass
- AA large pass
Using Yellow in CSS
.brand {
color: #ffff00;
}
.button {
background: #ffff00;
color: #111;
}
.hero {
background: linear-gradient(135deg, #ffff59, #ffff00, #a6a600);
}Similar colors
Gradients with Yellow
Yellow FAQ
What color is Yellow?
Yellow is a very light yellow. Its hex code is #FFFF00 and it is a warm colour.
What is the hex code for Yellow?
The hex code for Yellow is #FFFF00. In RGB that is rgb(255, 255, 0), and in HSL hsl(60, 100%, 50%).
What is Yellow in CMYK?
Yellow is roughly C 0%, M 0%, Y 100%, K 0% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Yellow?
Its complementary colour is #0000FF. For a calmer palette use its analogous colours #FF8000 and #80FF00, or tints and shades of Yellow itself.
Is white or black text better on Yellow?
Black text reads better on Yellow: 19.6:1 contrast, against 1.1:1 for white. WCAG asks for 4.5:1 for body text.
