Toolman

#FEF3C7 color

#FEF3C7#FEF3C7

The swatch above shows #FEF3C7 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#FEF3C7 is a very light, vivid yellow, closest to the CSS named color papayawhip (#FFEFD5).

It is also a Tailwind CSS default: amber-100. That means you can write bg-amber-100 or text-amber-100 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#FEF3C7
RGBrgb(254, 243, 199)
HSLhsl(48, 96%, 89%)
CMYKcmyk(0%, 4%, 22%, 0%)
Decimal16708551
CSScolor: #FEF3C7;
Android0xFFFEF3C7
SwiftUIColor(red: 0.996, green: 0.953, blue: 0.780, alpha: 1)

Accessibility and contrast

White text on #FEF3C71.11:1 — AA fail · AA large fail · AAA fail
Black text on #FEF3C718.86:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #FEF3C7

Each swatch keeps the hue and saturation of #FEF3C7 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #FEF3C7

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #FEF3C7 in code

/* CSS */
.element { color: #FEF3C7; background-color: #FEF3C7; }
.element { color: rgb(254 243 199); }
.element { color: hsl(48 96% 89%); }

/* Tailwind */
<div class="bg-amber-100 text-black">

/* SCSS variable */
$brand: #FEF3C7;

Frequently asked questions

What color is #FEF3C7?

#FEF3C7 is a very light, vivid yellow. Its hue sits at 48° on the color wheel, with 96% saturation and 89% lightness.

What is #FEF3C7 in RGB?

#FEF3C7 converts to rgb(254, 243, 199) — 254 red, 243 green and 199 blue.

What is #FEF3C7 in CMYK?

Approximately cmyk(0%, 4%, 22%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #FEF3C7 be white or black?

Black gives the better contrast ratio (18.86:1 versus 1.11:1).

What is the complementary color of #FEF3C7?

#C8D3FE — the hue directly opposite #FEF3C7 on the color wheel.

Convert any color → · Browse all colors