gettoolz.app

Yellow color: #ffff00

The CSS keyword yellow is #ffff00, rgb(255, 255, 0) or hsl(60, 100%, 50%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.

Part of design tools.

CSS keywordyellow
HEX#ffff00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
OKLCHoklch(96.8% 0.211 109.77)

About Yellow

Yellow is a vivid very light yellow. Its hue sits at 110° in OKLCH and 60° in HSL — the two wheels are spaced differently, which is why the numbers disagree.

The keyword yellow is one of the sixteen original HTML 4 colors, the whole palette of CSS 1, so it is understood by every browser and every email client ever shipped.

Yellow tint scale, 50 to 950

50#f7f9cc
100#eef1ac
200#dddf74
300#c6c609
400#a9a901
500#8c8c00
600#717100
700#565600
800#3d3d00
900#292900
950#1a1a00

Eleven steps at fixed perceived lightness, in OKLCH, holding yellow’s own hue from end to end. The keyword itself falls closest to step 200 (#dddf74), the one outlined; step 500 is #8c8c00.

Harmonies built on Yellow

Hue angles measured in OKLCH, so every accent keeps yellow’s perceived lightness. Its complement is #f4f3ff, closest to the named color aliceblue.

Complementary

#ffff00
#f4f3ff

Analogous

#ffff00
#e0ffd9
#fff3df

Triadic

#ffff00
#e8f7ff
#fff0f6

Split-complementary

#ffff00
#eff5ff
#fcf0ff

Yellow on white and on black

yellow on white1.07:1 · Fail
yellow on black19.55:1 · AAA

Black text reads better on yellow (19.55:1). As a text color it belongs on a dark background: on white it only reaches 1.07:1, under the 4.5:1 that body text needs, while on black it reaches 19.55:1. AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.

Named colors close to Yellow

Open yellow in the full tools

Or browse every named color from the color converter.