Yellow

#f5ff2a

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

Yellow is a mid yellow, balanced at this saturation. 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 #f5ff2a, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#f5ff2a
RGB245, 255, 42
HSL63, 100%, 58%
HSV63, 84%, 100%
CMYK4%, 0%, 84%, 0%
Lab96.45, -25.07, 88.6
XYZ73.83, 91.1, 15.88
Decimal16121642
Web safe#ffff33
Pantone394 C
Pantone394 CHex#f5ff2aRgb245 255 42Cmyk4 0 84 0Lab96 -25 89Darker#939a00Deep#d7e200Lighter#f2f878

Shades of yellow

Tints of yellow

Colors that go with yellow

Yellow in print

A color this vivid sometimes sits just outside cmyk gamut, so expect a small dip in punch on paper. The cmyk build is 4, 0, 84, 0.

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

Coated stockgloss or silk, C
4 0 84 0
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
8 4 81 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 #f5ff2a straight into your stylesheet.

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

How yellow looks on light and dark

Yellow and accessibility

Contrast ratios for #f5ff2a 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.22:1
AApass · AA largepass · AAApass

Use black text on this color for readable body copy. To test #f5ff2a 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 #f5ff2a 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 #f5ff2a 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

Here is how the numbers for #f5ff2a are worked out. We convert from sRGB to each space with the standard formulas, so the codes match what design tools show. The coated and uncoated cmyk builds differ because uncoated stock absorbs more ink and gains dot, so the same color needs a heavier, slightly duller build on press. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.