#FFF2AC color

#FFF2AC rgb(255, 242, 172)
Shades of yellow

The hex color #FFF2AC is a very light, vivid yellow.

In the RGB color model it is made of 100% red, 94.9% green and 67.5% blue (255, 242, 172).

Its hue angle is 51°, with 100% saturation and 84% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 33% yellow and 0% black.

The closest named color is Thunderbolt (#FDEFAD), a difference of 1 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 18.55:1).

#FFF2AC color codes

HEX#FFF2AC
RGBrgb(255, 242, 172)
RGB percentrgb(100%, 94.9%, 67.5%)
HSLhsl(51, 100%, 84%)
HSV / HSBhsv(51, 33%, 100%)
CMYKcmyk(0%, 5%, 33%, 0%)
CIE LABlab(95.05, -5.73, 35.42)
CIE LCHlch(95.05, 35.88, 99.19)
CIE XYZxyz(80.439, 87.745, 51.721)
Decimal16773804
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #FFF2AC, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #FFF2ACRatioAAAAAAA large
Sample text18.55:1PassPassPass
Sample text1.13:1FailFailFail
#FFF2AC as text onRatioAAAAAAA large
Sample text1.13:1FailFailFail
Sample text18.55:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #FFF2AC looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #fff2ac; }
.text { color: #fff2ac; }
.border { border: 2px solid #fff2ac; }
.transparent { background-color: rgb(255 242 172 / 50%); }
.gradient { background: linear-gradient(to right, #fff2ac, #e3ffac); }
Background
Text color
Border

Similar colors

Closest common color name: Pale Goldenrod.

Questions

What color is #FFF2AC?
#FFF2AC is a very light, vivid yellow, closest to the named color Thunderbolt. It belongs to the yellow family of colors.
What is the RGB value of #FFF2AC?
The RGB value is 255, 242, 172: 255 red, 242 green and 172 blue on a 0 to 255 scale.
What is the complementary color of #FFF2AC?
The complementary color is #ACB9FF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #FFF2AC?
Black text. Black text has a contrast ratio of 18.55:1 and white text 1.13:1. WCAG asks for at least 4.5:1 for normal text.