Yellow

#f5ff2f

Hex, rgb, cmyk and Pantone values for yellow, with shades, tints, matching colors and free print quality patterns.

Yellow falls in the yellow band, mid and vivid. A yellow this strong grabs attention fast, good for warnings and energy brands. Charcoal and navy give it the contrast it needs and purple across the wheel makes it pop.

Yellow color values

Every conversion for #f5ff2f, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#f5ff2f
RGB245, 255, 47
HSL63, 100%, 59%
HSV63, 82%, 100%
CMYK4%, 0%, 82%, 0%
Lab96.47, -24.94, 87.53
XYZ73.93, 91.14, 16.38
Decimal16121647
Web safe#ffff33
Pantone394 C
Pantone394 CHex#f5ff2fRgb245 255 47Cmyk4 0 82 0Lab96 -25 88Darker#989f00Deep#dce700Lighter#f2f87d

Shades of yellow

Tints of yellow

Colors that go with yellow

Yellow in print

The saturation is high, which is where rgb and cmyk drift apart, so a printed proof is worth it. The cmyk build is 4, 0, 82, 0.

The same color needs a different cmyk build depending on the paper. Here is #f5ff2f on both.

Coated stockgloss or silk, C
4 0 82 0
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
8 4 79 6
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color is saturated enough to sit near the edge of cmyk gamut, so expect a small drop in punch on paper and proof it before a long run.

See how it converts in the rgb to cmyk converter, or readrgb vs cmyk for print andwhat the k in cmyk means.

Yellow in css

Copy #f5ff2f straight into your stylesheet.

.background { background-color: #f5ff2f; }
.text { color: #f5ff2f; }
.border { border: 2px solid #f5ff2f; }

How yellow looks on light and dark

Yellow and accessibility

Contrast ratios for #f5ff2f against black and white text, measured to the WCAG standard.

Textwhite text on this color
1.09:1
AAfail · AA largefail · AAAfail
Textblack text on this color
19.23:1
AApass · AA largepass · AAApass

Use black text on this color for readable body copy. To test #f5ff2f against any other color, not just black and white, run the pair through ourcontrast checker for a live WCAG reading.

Yellow on a business card, sticker and pattern

A quick look at how #f5ff2f sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around yellow? Pull matching colors from any photo with thecolor palette generator, or check a design for print with thergb to cmyk converter.

Turn yellow into a seamless pattern

Four patterns built from #f5ff2f and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from yellow, free and print ready.

Open in pattern maker

How we calculate these values

The figures for #f5ff2f come from standard color math, shown so you can check them. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. Two cmyk builds are shown because coated and uncoated papers behave differently, uncoated soaks up ink and needs more of it to hit the same target. The Pantone figure is the nearest match in our reference set by perceptual distance and it is an approximation, not an exact spot color.