#FEF2C7 color

#FEF2C7 rgb(254, 242, 199)
Shades of beige

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

In the RGB color model it is made of 99.6% red, 94.9% green and 78% blue (254, 242, 199).

Its hue angle is 47°, with 96% saturation and 89% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 22% yellow and 0% black.

The closest named color is Vanilla Cake (#FCF0CA), a difference of 1.4 ΔE, which is barely visible.

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

#FEF2C7 color codes

HEX#FEF2C7
RGBrgb(254, 242, 199)
RGB percentrgb(99.6%, 94.9%, 78%)
HSLhsl(47, 96%, 89%)
HSV / HSBhsv(47, 22%, 100%)
CMYKcmyk(0%, 5%, 22%, 0%)
CIE LABlab(95.45, -2.62, 22.24)
CIE LCHlch(95.45, 22.4, 96.72)
CIE XYZxyz(82.934, 88.7, 66.774)
Decimal16708295
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #FEF2C7, 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 #FEF2C7RatioAAAAAAA large
Sample text18.74:1PassPassPass
Sample text1.12:1FailFailFail
#FEF2C7 as text onRatioAAAAAAA large
Sample text1.12:1FailFailFail
Sample text18.74: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 #FEF2C7 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #fef2c7; }
.text { color: #fef2c7; }
.border { border: 2px solid #fef2c7; }
.transparent { background-color: rgb(254 242 199 / 50%); }
.gradient { background: linear-gradient(to right, #fef2c7, #effec7); }
Background
Text color
Border

Similar colors

Closest common color name: Lemon Chiffon.

Questions

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