Colors

#FFFF00

Yellow

Yellow is #FFFF00. In CSS you can write it as the keyword yellow. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

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.8% 0.211 109.8)

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#FFFF33

20% white

#FFFF66

40% white

#FFFF99

60% white

#FFFFCC

80% white

Shades

#CCCC00

20% black

#999900

40% black

#666600

60% black

#333300

80% black

Harmony palettes

These schemes rotate hue from Yellow. Read the relationships in color theory 101 or adjust them on the color wheel.

#FFFF00

#0000FF

#E4E467

#6767E4

#86862D

#FF8000

#FFFF00

#80FF00

#00FF00

#EC1313

#FFFF00

#00FFFF

#FF00FF

#67E4E4

#AD1FAD

Split Complementary

Open in palette generator

#FFFF00

#0080FF

#8000FF

#E0E085

#2D2D86

#666600

#B3B300

#FFFF00

#FFFF4D

#FFFF99

#FFFF00

#00FF80

#0000FF

#FF0080

#5FDD9E

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 1.07:1
AA normal text Fail
AA large text Fail
AAA normal text Fail
AAA large text Fail
On black · 19.56:1
AA normal text Pass
AA large text Pass
AAA normal text Pass
AAA large text Pass

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color