Yellow

#f2ef42

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

This is Yellow, a vivid yellow at 59 degrees. 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 #f2ef42, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#f2ef42
RGB242, 239, 66
HSL59, 87%, 60%
HSV59, 73%, 95%
CMYK0%, 1%, 73%, 5%
Lab92.13, -17.88, 78.36
XYZ68.47, 81.0, 17.18
Decimal15920962
Web safe#ffff33
Pantone101 C
Pantone101 CHex#f2ef42Rgb242 239 66Cmyk0 1 73 5Lab92 -18 78Darker#9b980bDeep#ddda0fLighter#f1ef8a

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 0, 1, 73, 5.

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

Coated stockgloss or silk, C
0 1 73 5
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 5 71 11
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 read rgb vs cmyk for print and what the k in cmyk means.

Yellow in css

Copy #f2ef42 straight into your stylesheet.

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

How yellow looks on light and dark

Yellow and accessibility

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

Textwhite text on this color
1.22:1
AA fail · AA large fail · AAA fail
Textblack text on this color
17.20:1
AA pass · AA large pass · AAA pass

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

Yellow on a business card, sticker and pattern

A quick look at how #f2ef42 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 the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn yellow into a seamless pattern

Four patterns built from #f2ef42 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 #f2ef42 come from standard color math, shown so you can check them. The rgb, hsl, hsv, cie-lab and xyz values follow the standard conversions from the sRGB color space. 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. The Pantone figure is the nearest match in our reference set by perceptual distance and it is an approximation, not an exact spot color.