Yellow

#fafb5b

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. Pair it with dark neutrals so it stays legible, or with violet for a high energy scheme.

Yellow color values

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

Hex#fafb5b
RGB250, 251, 91
HSL60, 95%, 67%
HSV60, 64%, 98%
CMYK0%, 0%, 64%, 2%
Lab96.03, -19.18, 73.54
XYZ75.81, 90.07, 23.29
Decimal16448347
Web safe#ffff66
Pantone101 C
Pantone101 CHex#fafb5bRgb250 251 91Cmyk0 0 64 2Lab96 -19 74Darker#c1c205Deep#f8f915Lighter#f8f8a5

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 0, 0, 64, 2.

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

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

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

How yellow looks on light and dark

Yellow and accessibility

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

Textwhite text on this color
1.10:1
AA fail · AA large fail · AAA fail
Textblack text on this color
19.01:1
AA pass · AA large pass · AAA pass

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

Every value on this page for #fafb5b is computed, not guessed. We convert from sRGB to each space with the standard formulas, so the codes match what design tools show. The uncoated cmyk build carries more ink than the coated one, which is what a printer would compensate for when the same color runs on a rougher stock. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.