#FFFF03 color
The hex color #FFFF03 is a vivid yellow.
In the RGB color model it is made of 100% red, 100% green and 1.2% blue (255, 255, 3).
Its hue angle is 60°, with 100% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 99% yellow and 0% black.
The closest named color is Yellow (#FFFF00), a difference of 0 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 19.56:1).
#FFFF03 color codes
| HEX | #FFFF03 | |
|---|---|---|
| RGB | rgb(255, 255, 3) | |
| RGB percent | rgb(100%, 100%, 1.2%) | |
| HSL | hsl(60, 100%, 51%) | |
| HSV / HSB | hsv(60, 99%, 100%) | |
| CMYK | cmyk(0%, 0%, 99%, 0%) | |
| CIE LAB | lab(97.14, -21.53, 94.27) | |
| CIE LCH | lch(97.14, 96.7, 102.87) | |
| CIE XYZ | xyz(77.02, 92.789, 13.939) | |
| Decimal | 16776963 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFFF03, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFFF03 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.56:1 | Pass | Pass | Pass |
| Sample text | 1.07:1 | Fail | Fail | Fail |
| #FFFF03 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.56:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #FFFF03 looks to people with the most common types of color vision deficiency.
#fff400Protanopia
no red cones#fffa32Deuteranopia
no green cones#ffeed9Tritanopia
no blue cones#f7f7f7Achromatopsia
no color vision
CSS examples
.background { background-color: #ffff03; }
.text { color: #ffff03; }
.border { border: 2px solid #ffff03; }
.transparent { background-color: rgb(255 255 3 / 50%); }
.gradient { background: linear-gradient(to right, #ffff03, #81ff03); }
Similar colors
#ffff00Yellow#feff00Bat-Signal#fffe00Yell for Yellow#ffff14Yellow Submarine#fffc00Electric Yellow#fbff00Electric Banana#fffb08Banana King#ffff31Daffodil
Questions
- What color is #FFFF03?
- #FFFF03 is a vivid yellow, closest to the named color Yellow. It belongs to the yellow family of colors.
- What is the RGB value of #FFFF03?
- The RGB value is 255, 255, 3: 255 red, 255 green and 3 blue on a 0 to 255 scale.
- What is the complementary color of #FFFF03?
- The complementary color is #0303FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFFF03?
- Black text. Black text has a contrast ratio of 19.56:1 and white text 1.07:1. WCAG asks for at least 4.5:1 for normal text.