YELLOW

Yellow

#FFFF00
Conversions
HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
HSVhsv(60, 100%, 100%)
CMYKcmyk(0%, 0%, 100%, 0%)
Copy CSS
color: #ffff00; /* rgb */ color: rgb(255, 255, 0); /* hsl */ color: hsl(60, 100%, 50%);
Contrast
On whiteFail · 1.07 : 1
On ink blackPass · 17.82 : 1
Shades
Tints
Pairings
Complementary
#0000FF
Triadic
#00FFFF
Triadic
#FF00FF

About 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.

Contrast of common text colors on Yellow. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF1.07:1FailFailFail
Ink black #0F0F1217.82:1PassPassPass
Mid grey #6B72804.50:1PassPassFail
Dark grey #3741519.60:1PassPassPass
Light grey #E5E7EB1.15:1FailFailFail

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

FormatValue
HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
HSVhsv(60, 100%, 100%)
CMYKcmyk(0%, 0%, 100%, 0%)
OKLCHoklch(96.80% 0.2110 109.77)
CIELABlab(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.