Toolman

#FFFBEB color

#FFFBEB#FFFBEB

The swatch above shows #FFFBEB 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.

#FFFBEB is a very light, vivid yellow, closest to the CSS named color floralwhite (#FFFAF0).

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

Color values

HEX#FFFBEB
RGBrgb(255, 251, 235)
HSLhsl(48, 100%, 96%)
CMYKcmyk(0%, 2%, 8%, 0%)
Decimal16776171
CSScolor: #FFFBEB;
Android0xFFFFFBEB
SwiftUIColor(red: 1.000, green: 0.984, blue: 0.922, alpha: 1)

Accessibility and contrast

White text on #FFFBEB1.04:1 — AA fail · AA large fail · AAA fail
Black text on #FFFBEB20.25: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 #FFFBEB

Each swatch keeps the hue and saturation of #FFFBEB 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 #FFFBEB

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 #FFFBEB in code

/* CSS */
.element { color: #FFFBEB; background-color: #FFFBEB; }
.element { color: rgb(255 251 235); }
.element { color: hsl(48 100% 96%); }

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

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

Frequently asked questions

What color is #FFFBEB?

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

What is #FFFBEB in RGB?

#FFFBEB converts to rgb(255, 251, 235) — 255 red, 251 green and 235 blue.

What is #FFFBEB in CMYK?

Approximately cmyk(0%, 2%, 8%, 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 #FFFBEB be white or black?

Black gives the better contrast ratio (20.25:1 versus 1.04:1).

What is the complementary color of #FFFBEB?

#EBEFFF — the hue directly opposite #FFFBEB on the color wheel.

Convert any color → · Browse all colors