Maroon Colors  ·  Color Library

Palettes / Colors / #F2ECBC

#F2ECBC — Pale Yellow

#F2ECBC 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 #F2ECBC 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.

#F2ECBC 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 #BBC1F2; it also sits naturally between #F2D0BB and #DDF2BB. In the palettes below you can see it working alongside real color combinations from our collection.

#F2ECBC · RGB 242, 236, 188

Download PNG swatch SVG

Color values

HEX#F2ECBC
RGB242, 236, 188
HSL53°, 67%, 84%
HSV53°, 22%, 95%
CMYK0%, 2%, 22%, 5%
XYZ75.69, 82.50, 59.51
Yxy82.50, 0.3477, 0.3790
CIE-Lab92.79, -5.49, 24.05
Hunter Lab90.83, -5.44, 20.55

RGB & CMYK percentages

Red 95% · Green 93% · Blue 74%

Cyan 0% · Magenta 2% · Yellow 22% · Key 5%

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

Previews

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

CSS code for #F2ECBC

.text { color: #F2ECBC; }
.background { background-color: #F2ECBC; }
.border { border: 3px solid #F2ECBC; }
.text-rgb { color: rgb(242, 236, 188); }
.text-hsl { color: hsl(53, 67%, 84%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #F2ECBC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(242, 236, 188, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #F2ECBC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(242, 236, 188, 0.8); }

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

Shades of #F2ECBC

#EBE199#E4D777#DDCD55#D7C333#BBAA25#998B1E#776C18#554D11#332E0A#110F03

Tints of #F2ECBC

#F2ECBF#F3EEC3#F5F0CC#F6F1D0#F7F3D4#F7F4D9#F8F5DD#FAF8E5#FBF9EA#FCFAEE

Tones of #F2ECBC

#EDE8BF#EAE5C3#E6E2C7#E2DFCA#DEDCCE#DAD9D2

Color harmonies

Complementary — #BBC1F2:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.20:1 Fails
Against black text17.50:1 AAA

Best text color on #F2ECBC: #000000.

Semi-transparent (opacity) text on #F2ECBC

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 #F2ECBC: ·

How #F2ECBC looks with color blindness

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

Protanopia · #EFEFC8Deuteranopia · #F0F0CATritanopia · #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 #F2ECBC rather than the exact color:

Palette 9a3b3b
#9A3B3B · #C08261 · #E2C799 · #F2ECBE
Palette Dbf1f2
#DBF1F2 · #CD5555 · #882042 · #EFEDBB
Palette 4b1426
#4B1426 · #17433F · #558467 · #EFEABB
Palette F6d7a7
#F6D7A7 · #F6EABE · #C8E3D4 · #87AAAA
Palette F5f0bb
#F5F0BB · #C4DFAA · #90C8AC · #73A9AD
Palette F5f0bb
#F5F0BB · #DBDFAA · #B3C890 · #73A9AD

Similar colors

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

#F2ECBE#EFEDBB#EFEABB#F6EABE#F5F0BB#F6EFBD#F2EDC2#ECECBB#F3ECC2#F6E7BC#F0E9B6#F1ECC3

Browse neighbouring colors

← #F2ECBB  ·  #F2ECBD →

Frequently asked questions

What color is #F2ECBC?

#F2ECBC is Pale Yellow, a yellow color (RGB 242, 236, 188). Its closest standard named color is Moccasin.

What is the RGB and HSL of #F2ECBC?

#F2ECBC is RGB 242, 236, 188 — HSL 53°, 67%, 84% — CMYK 0%, 2%, 22%, 5%.

What colors go with #F2ECBC?

Its complement is #BBC1F2; analogous partners are #F2D0BB and #DDF2BB. It also appears in 6+ palettes in our collection.

Can I use #F2ECBC for text?

Black text on #F2ECBC has a contrast ratio of 17.50:1 (passes WCAG AA); white text gives 1.20:1.