Maroon Colors  ·  Color Library

Palettes / Colors / #F2EFBA

#F2EFBA — Pale Yellow

#F2EFBA is a yellow color we call Pale Yellow, closest to the named color Moccasin (#FFE4B5). It belongs to the yellow family.

Color name

Closest CSS keyword: moccasin (#FFE4B5) — not an exact match. CSS moccasin gives you #FFE4B5, a different color; use #F2EFBA when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#F2EFBA is a warm yellow color associated with optimism, attention and cheer. It is light enough to work as a background or base color, with darker text on top.

Its strongest partner is its complement #BABDF2; it also sits naturally between #F2D3BA and #D9F2BA. In the palettes below you can see it working alongside real color combinations from our collection.

#F2EFBA · RGB 242, 239, 186

Download PNG swatch SVG

Color values

HEX#F2EFBA
RGB242, 239, 186
HSL57°, 68%, 84%
HSV57°, 23%, 95%
CMYK0%, 1%, 23%, 5%
XYZ76.35, 84.16, 58.67
Yxy84.16, 0.3483, 0.3840
CIE-Lab93.52, -7.27, 26.07
Hunter Lab91.74, -7.19, 22.12

RGB & CMYK percentages

Red 95% · Green 94% · Blue 73%

Cyan 0% · Magenta 1% · Yellow 23% · Key 5%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #F2EFBA on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #F2EFBA on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #F2EFBA

.text { color: #F2EFBA; }
.background { background-color: #F2EFBA; }
.border { border: 3px solid #F2EFBA; }
.text-rgb { color: rgb(242, 239, 186); }
.text-hsl { color: hsl(57, 68%, 84%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #F2EFBA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(242, 239, 186, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #F2EFBA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(242, 239, 186, 0.8); }

HTML: <p style="color:#F2EFBA">Text here</p> · <div style="background-color:#F2EFBA">Div content here</div>

Shades of #F2EFBA

#EBE798#E5DF76#DED754#D8D031#BCB524#9A941D#787317#565210#33310A#111003

Tints of #F2EFBA

#F3F0BF#F4F1C3#F5F3CC#F6F4D0#F7F5D4#F8F6D8#F8F7DD#FAF9E5#FBFAEA#FCFBEE

Tones of #F2EFBA

#EEEBBF#EAE8C2#E6E5C6#E2E1CA#DEDDCE#DADAD2

Color harmonies

Complementary — #BABDF2:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.18:1 Fails
Against black text17.83:1 AAA

Best text color on #F2EFBA: #000000.

Semi-transparent (opacity) text on #F2EFBA

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #F2EFBA: ·

How #F2EFBA looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #F1F1C7Deuteranopia · #F1F1CATritanopia · #F2D1D3

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap light · #F8F9FAMaterial Grey 500 · #9E9E9EMaterial Yellow 500 · #FFEB3B

Palettes with a similar color

These palettes use a close neighbour of #F2EFBA rather than the exact color:

Palette F5f0bb
#F5F0BB · #C4DFAA · #90C8AC · #73A9AD
Palette F5f0bb
#F5F0BB · #DBDFAA · #B3C890 · #73A9AD
Palette Dbf1f2
#DBF1F2 · #CD5555 · #882042 · #EFEDBB
Palette 9a3b3b
#9A3B3B · #C08261 · #E2C799 · #F2ECBE
Palette A2d2df
#A2D2DF · #F6EFBD · #E4C087 · #BC7C7C
Palette 4b1426
#4B1426 · #17433F · #558467 · #EFEABB

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#F5F0BB#EFEDBB#F2ECBE#F6EFBD#EFEABB#ECECBB#EFECB4#F0E9B6#F6EABE#F0F1B3#F4F4C0#F5E8B7

Browse neighbouring colors

← #F2EFB9  ·  #F2EFBB →

Frequently asked questions

What color is #F2EFBA?

#F2EFBA is Pale Yellow, a yellow color (RGB 242, 239, 186). Its closest standard named color is Moccasin.

What is the RGB and HSL of #F2EFBA?

#F2EFBA is RGB 242, 239, 186 — HSL 57°, 68%, 84% — CMYK 0%, 1%, 23%, 5%.

What colors go with #F2EFBA?

Its complement is #BABDF2; analogous partners are #F2D3BA and #D9F2BA. It also appears in 6+ palettes in our collection.

Can I use #F2EFBA for text?

Black text on #F2EFBA has a contrast ratio of 17.83:1 (passes WCAG AA); white text gives 1.18:1.