Yellow

#f2e42e

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

Yellow is a mid yellow, confident at this saturation. A yellow this strong grabs attention fast, good for warnings and energy brands. Pair it with dark neutrals so it stays legible, or with violet for a high energy scheme.

Yellow color values

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

Hex#f2e42e
RGB242, 228, 46
HSL56, 88%, 56%
HSV56, 81%, 95%
CMYK0%, 6%, 81%, 5%
Lab89.19, -13.21, 81.48
XYZ64.85, 74.56, 13.56
Decimal15918126
Web safe#ffcc33
Pantone3955 C
Pantone3955 CHex#f2e42eRgb242 228 46Cmyk0 6 81 5Lab89 -13 81Darker#898009Deep#ccbe0dLighter#f0e778

Shades of yellow

Tints of yellow

Colors that go with yellow

Yellow in print

It is saturated enough that the cmyk build can shift slightly from screen to press, so proof it. The cmyk build is 0, 6, 81, 5.

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

Coated stockgloss or silk, C
0 6 81 5
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 10 79 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 readrgb vs cmyk for print andwhat the k in cmyk means.

Yellow in css

Copy #f2e42e straight into your stylesheet.

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

How yellow looks on light and dark

Yellow and accessibility

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

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

Use black text on this color for readable body copy. To test #f2e42e 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 #f2e42e 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 #f2e42e 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 #f2e42e are worked out. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. 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 value is the closest reference by perceptual color distance and should be treated as a starting point, not a guaranteed match.