Yellow
#FFFF00About Yellow
Yellow is the hex color #FFFF00, which translates to rgb(255, 255, 0) in RGB and hsl(60, 100%, 50%) in HSL. On the color wheel it sits at 60 degrees, with a saturation of 100 percent and a lightness of 50 percent. Its OKLCH chroma of 0.211 is high, so Yellow is one of the more vivid yellow tones here and is easy to overuse at large sizes.
How Yellow compares
Yellow is exactly the CSS keyword yellow, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is yellow-300 (#FFDF20), at a distance of 20.3. Inside this library the closest neighbour is Canary at 9.2. Sorted by lightness, Yellow is number 3 of the 18 yellow colors here.
Text on Yellow
3 of the five common text colors below clear WCAG AA for normal text on Yellow, led by Ink black at 17.82:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Yellow already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 1.07:1 | Fail | Fail | Fail |
| Ink black #0F0F12 | 17.82:1 | Pass | Pass | Pass |
| Mid grey #6B7280 | 4.50:1 | Pass | Pass | Fail |
| Dark grey #374151 | 9.60:1 | Pass | Pass | Pass |
| Light grey #E5E7EB | 1.15:1 | Fail | Fail | Fail |
Building a palette around Yellow
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Yellow for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.
Full values for Yellow
| Format | Value |
|---|---|
| HEX | #FFFF00 |
| RGB | rgb(255, 255, 0) |
| HSL | hsl(60, 100%, 50%) |
| HSV | hsv(60, 100%, 100%) |
| CMYK | cmyk(0%, 0%, 100%, 0%) |
| OKLCH | oklch(96.80% 0.2110 109.77) |
| CIELAB | lab(97.14 -21.55 94.48) |
Use Yellow in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.